staging: sm750fb: cleanup: fix brace placement
PATCH 1/1 staging: sm750fb: cleanup: fix brace placement
Fix brace placement warnings caught by checkpatch.pl.
Signed-off-by Charles Rose <[email protected]>
--- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/sm750fb/sm750_cursor.c +1 -2
@@ -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;
Signature · 1 line
2.5.0
Quoted 13 lines · Charles Rose
Fix brace placement warnings caught by checkpatch.pl.
Signed-off-by Charles Rose <[email protected]>--- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/sm750fb/sm750_cursor.c +0
-0
drivers/staging/sm750fb/sm750_cursor.c void hw_cursor_setData(struct lynx_cursor *cursor, · line 149
Quoted 9 lines
drivers/staging/sm750fb/sm750_cursor.c +1
-2@@ -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;
Missed copying Greg KH on this.
Thanks,
Charles
Greg KH
maintainerQuoted 15 lines · Charles Rose
Quoted 14 lines · Charles Rose
Fix brace placement warnings caught by checkpatch.pl.
Signed-off-by Charles Rose <[email protected]>--- drivers/staging/sm750fb/sm750_cursor.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)drivers/staging/sm750fb/sm750_cursor.c +0
-0@@ -143,8 +143,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor,iowrite16 (data, pbuffer);
Quoted 10 lines
drivers/staging/sm750fb/sm750_cursor.c void hw_cursor_setData(struct lynx_cursor *cursor, · line 149
Quoted 8 lines
drivers/staging/sm750fb/sm750_cursor.c +1
-2/* assume pitch is 1,2,4,8,...*/ -if ((i+1 ) % pitch =0 ) - { +if ((i+1 ) % pitch =0 ) {/* need a return */ pstart += offset; pbuffer = pstart;Missed copying Greg KH on this.
I can't do anything with a forwarded patch like this :(