From: Charles Rose <charles.rose.linux@gmail.com>
To: linux-fbdev@vger.kernel.org
Subject: Re: [PATCH] staging: sm750fb: cleanup: fix brace placement
Date: Fri, 22 Jan 2016 18:45:18 +0000 [thread overview]
Message-ID: <56A278BE.7010005@gmail.com> (raw)
In-Reply-To: <1453246935-5037-1-git-send-email-charles.rose.linux@gmail.com>
On 01/19/2016 06:42 PM, Charles Rose wrote:
> Fix brace placement warnings caught by checkpatch.pl.
>
> Signed-off-by: Charles Rose <charles.rose.linux@gmail.com>
> ---
> 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;
>
Missed copying Greg KH on this.
Thanks,
Charles
next prev parent reply other threads:[~2016-01-22 18:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-19 23:42 [PATCH] staging: sm750fb: cleanup: fix brace placement Charles Rose
2016-01-22 18:45 ` Charles Rose [this message]
2016-01-24 20:50 ` 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=56A278BE.7010005@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).