Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1264956
| From | Othmar Pasteka <pasteka@kabsi.at> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 1/2] staging: sm750fb: move opening brace to previous line |
| Date | 2015-11-08 02:10 +0100 |
| Message-ID | <qsmEx-1sE-3@gated-at.bofh.it> (permalink) |
| Organization | linux.* mail to news gateway |
Fixes the checkpatch.pl error:
ERROR: that open brace { should be on the previous line
Signed-off-by: Othmar Pasteka <pasteka@kabsi.at>
---
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.3
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread
[PATCH 1/2] staging: sm750fb: move opening brace to previous line Othmar Pasteka <pasteka@kabsi.at> - 2015-11-08 02:10 +0100
[PATCH 2/2] staging: sm750fb: add spaces around operator Othmar Pasteka <pasteka@kabsi.at> - 2015-11-08 02:10 +0100
Re: [PATCH 2/2] staging: sm750fb: add spaces around operator Dan Carpenter <dan.carpenter@oracle.com> - 2015-11-08 07:40 +0100
Re: [PATCH 2/2] staging: sm750fb: add spaces around operator Othmar Pasteka <pasteka@kabsi.at> - 2015-11-08 08:40 +0100
Re: [PATCH 2/2] staging: sm750fb: add spaces around operator Dan Carpenter <dan.carpenter@oracle.com> - 2015-11-08 09:20 +0100
csiph-web