* Re: [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement
@ 2016-02-08 2:53 Greg KH
0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2016-02-08 2:53 UTC (permalink / raw)
To: linux-fbdev
On Sun, Jan 24, 2016 at 05:36:43PM -0500, Charles Rose wrote:
> Fix brace placement warnings caught by checkpatch.pl.
>
> Signed-off-by: Charles Rose <charles.rose.linux@gmail.com>
> ---
> This is a resend of the original patch posted on 20160119 where my
> recepient list was incomplete.
Doesn't apply as someone else did this before you, sorry :(
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement
@ 2016-01-24 22:36 Charles Rose
0 siblings, 0 replies; 2+ messages in thread
From: Charles Rose @ 2016-01-24 22:36 UTC (permalink / raw)
To: linux-fbdev
Fix brace placement warnings caught by checkpatch.pl.
Signed-off-by: Charles Rose <charles.rose.linux@gmail.com>
---
This is a resend of the original patch posted on 20160119 where my
recepient list was incomplete.
drivers/staging/sm750fb/sm750_cursor.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index 3b7ce92..cab891c 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -143,8 +143,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor,
iowrite16(data, pbuffer);
/* assume pitch is 1,2,4,8,...*/
- if ((i+1) % pitch = 0)
- {
+ if ((i+1) % pitch = 0) {
/* need a return */
pstart += offset;
pbuffer = pstart;
--
2.5.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-02-08 2:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-08 2:53 [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement Greg KH
-- strict thread matches above, loose matches on Subject: below --
2016-01-24 22:36 Charles Rose
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.