Skip to contentSkip to conversation

Staging: speackup: No space is necessary after a cast.

PATCH In review Sandhya Bankar 2 participants 2 messages Sep 12, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: speackup: No space is necessary after a cast.

No space is necessary after a cast.This patch is detected by checkpatch.pl script.

---
 drivers/staging/speakup/selection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/selection.c +1 -1
index ce4b946..afd9a44 100644
@@ -137,7 +137,7 @@ static void __speakup_paste_selection(struct work_struct *work)
 	struct speakup_paste_work *spw =
 		container_of(work, struct speakup_paste_work, work);
 	struct tty_struct *tty = xchg(&spw->tty, NULL);
-	struct vc_data *vc = (struct vc_data *) tty->driver_data;
+	struct vc_data *vc = (struct vc_data *)tty->driver_data;
 	int pasted = 0, count;
 	struct tty_ldisc *ld;
 	DECLARE_WAITQUEUE(wait, current);
Signature · 1 line
1.8.2.3
#1 lore raw
Quoted 1 line · Sandhya Bankar

No space is necessary after a cast.This patch is detected by checkpatch.pl script.

Space needed after "cast." In the subject line, speackup -> speakup. The commit message should be limited to 80 characters per line. Did you send another patch on the same file? If so, then they need to be in a series (1/2, 2/2).

julia

Quoted 29 lines
---
 drivers/staging/speakup/selection.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/speakup/selection.c +1 -2
index ce4b946..afd9a44 100644
@@ -137,7 +137,7 @@ static void __speakup_paste_selection(struct work_struct *work)
 	struct speakup_paste_work *spw =
 		container_of(work, struct speakup_paste_work, work);
 	struct tty_struct *tty = xchg(&spw->tty, NULL);
-	struct vc_data *vc = (struct vc_data *) tty->driver_data;
+	struct vc_data *vc = (struct vc_data *)tty->driver_data;
 	int pasted = 0, count;
 	struct tty_ldisc *ld;
 	DECLARE_WAITQUEUE(wait, current);
--

1.8.2.3

--
You received this message because you are subscribed to the Google Groups "outreachy-kernel" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/d/msgid/outreachy-kernel/20160912212009.GA3355%40sandhya.
For more options, visit https://groups.google.com/d/optout.