From: Charles Rose <charles.rose.linux@gmail.com>
To: linux-fbdev@vger.kernel.org
Subject: [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement
Date: Sun, 24 Jan 2016 22:36:43 +0000 [thread overview]
Message-ID: <1453675003-3688-1-git-send-email-charles.rose.linux@gmail.com> (raw)
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
next reply other threads:[~2016-01-24 22:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-24 22:36 Charles Rose [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-02-08 2:53 [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement Greg KH
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=1453675003-3688-1-git-send-email-charles.rose.linux@gmail.com \
--to=charles.rose.linux@gmail.com \
--cc=linux-fbdev@vger.kernel.org \
/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;
as well as URLs for NNTP newsgroup(s).