[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1287198527-1696-2-git-send-email-tdent48227@gmail.com>
Date: Fri, 15 Oct 2010 23:08:47 -0400
From: Tracey Dent <tdent48227@...il.com>
To: greg@...ah.com
Cc: linux-kernel@...r.kernel.org, Tracey Dent <tdent48227@...il.com>
Subject: [PATCH 2/2] Staging: speakup: selection: Coding style fixes
Fixed coding style issues using checkpatch.pl
Signed-off-by: Tracey Dent <tdent48227@...il.com>
---
drivers/staging/speakup/selection.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/speakup/selection.c b/drivers/staging/speakup/selection.c
index 1b865ff..81cfc80 100644
--- a/drivers/staging/speakup/selection.c
+++ b/drivers/staging/speakup/selection.c
@@ -34,7 +34,7 @@ void speakup_clear_selection(void)
/* does screen address p correspond to character at LH/RH edge of screen? */
static int atedge(const int p, int size_row)
{
- return (!(p % size_row) || !((p + 2) % size_row));
+ return !(p % size_row) || !((p + 2) % size_row);
}
/* constrain v such that v <= u */
@@ -139,9 +139,9 @@ int speakup_paste_selection(struct tty_struct *tty)
}
count = sel_buffer_lth - pasted;
count = min_t(int, count, tty->receive_room);
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,31)
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 31)
tty->ldisc->ops->receive_buf(tty, sel_buffer + pasted, 0, count);
-#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,27)
+#elif LINUX_VERSION_CODE >= KERNEL_VERSION(2, 6, 27)
tty->ldisc.ops->receive_buf(tty, sel_buffer + pasted, 0, count);
#else
tty->ldisc.receive_buf(tty, sel_buffer + pasted, 0, count);
--
1.7.3.1.104.gc752e
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists