From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Rose Date: Sun, 24 Jan 2016 22:36:43 +0000 Subject: [RESEND PATCH] staging: sm750fb: cleanup: fix brace placement Message-Id: <1453675003-3688-1-git-send-email-charles.rose.linux@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-fbdev@vger.kernel.org Fix brace placement warnings caught by checkpatch.pl. Signed-off-by: Charles Rose --- 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