From: Othmar Pasteka <pasteka@kabsi.at>
To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com,
sudip@vectorindia.org, greg@kroah.com
Cc: devel@driverdev.osuosl.org, linux-fbdev@vger.kernel.org,
linux-kernel@vger.kernel.org, Othmar Pasteka <pasteka@kabsi.at>
Subject: [PATCH 2/2] staging: sm750fb: add spaces around operator
Date: Sun, 8 Nov 2015 01:43:31 +0100 [thread overview]
Message-ID: <dff05f0aaa83ddedafd5f061548dc2ba75486fd3.1446942955.git.pasteka@kabsi.at> (raw)
In-Reply-To: <e426148688caace0a5083b379c1eaab85e424c74.1446942955.git.pasteka@kabsi.at>
In-Reply-To: <e426148688caace0a5083b379c1eaab85e424c74.1446942955.git.pasteka@kabsi.at>
checkpatch.pl says: CHECK: spaces preferred around that '+' (ctx:VxV)
Signed-off-by: Othmar Pasteka <pasteka@kabsi.at>
---
drivers/staging/sm750fb/sm750_cursor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c
index cab891c..0a41585 100644
--- a/drivers/staging/sm750fb/sm750_cursor.c
+++ b/drivers/staging/sm750fb/sm750_cursor.c
@@ -143,7 +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
next prev parent reply other threads:[~2015-11-08 0:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-08 0:43 [PATCH 1/2] staging: sm750fb: move opening brace to previous line Othmar Pasteka
2015-11-08 0:43 ` Othmar Pasteka [this message]
2015-11-08 6:35 ` [PATCH 2/2] staging: sm750fb: add spaces around operator Dan Carpenter
2015-11-08 7:33 ` Othmar Pasteka
2015-11-08 8:17 ` Dan Carpenter
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=dff05f0aaa83ddedafd5f061548dc2ba75486fd3.1446942955.git.pasteka@kabsi.at \
--to=pasteka@kabsi.at \
--cc=devel@driverdev.osuosl.org \
--cc=greg@kroah.com \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=sudip@vectorindia.org \
--cc=sudipm.mukherjee@gmail.com \
--cc=teddy.wang@siliconmotion.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®