From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753319AbbF2R4n (ORCPT ); Mon, 29 Jun 2015 13:56:43 -0400 Received: from mail-pd0-f169.google.com ([209.85.192.169]:36310 "EHLO mail-pd0-f169.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753555AbbF2Ry7 (ORCPT ); Mon, 29 Jun 2015 13:54:59 -0400 From: Juston Li To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, dan.carpenter@oracle.com Cc: Juston Li Subject: [PATCH v4 13/19] staging: sm750fb: add space after semicolon Date: Mon, 29 Jun 2015 10:55:30 -0700 Message-Id: <1435600536-13135-13-git-send-email-juston.h.li@gmail.com> X-Mailer: git-send-email 2.4.4 In-Reply-To: References: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fixes checkpatch.pl error: ERROR: space required after that ';' Signed-off-by: Juston Li --- drivers/staging/sm750fb/sm750.h | 2 +- drivers/staging/sm750fb/sm750_cursor.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index d6916fd..9b101a9 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -168,7 +168,7 @@ struct lynxfb_par { ({ \ unsigned long long hz = 1000*1000*1000*1000ULL; \ do_div(hz, ps); \ - (unsigned long)hz;}) + (unsigned long)hz; }) static inline unsigned long ps_to_hz(unsigned int psvalue) { diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 9dabac1..4ed7ca2 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -122,7 +122,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, odd=0; */ - for (i = 0;i < count;i++) + for (i = 0; i < count; i++) { color = *pcol++; mask = *pmsk++; @@ -137,7 +137,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, else opr = mask & color; - for (j = 0;j < 8;j++) + for (j = 0; j < 8; j++) { if (opr & (0x80 >> j)) @@ -149,7 +149,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, } } #else - for (j = 0;j < 8;j++) { + for (j = 0; j < 8; j++) { if (mask & (0x80>>j)) { if (rop == ROP_XOR) opr = mask ^ color; @@ -204,7 +204,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, pstart = cursor->vstart; pbuffer = pstart; - for (i = 0;i < count;i++) + for (i = 0; i < count; i++) { color = *pcol++; mask = *pmsk++; @@ -217,7 +217,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, else opr = mask & color; - for (j = 0;j < 8;j++) + for (j = 0; j < 8; j++) { if (opr & (0x80 >> j)) @@ -229,7 +229,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, } } #else - for (j = 0;j < 8;j++) { + for (j = 0; j < 8; j++) { if (mask & (1< Date: Mon, 29 Jun 2015 17:55:30 +0000 Subject: [PATCH v4 13/19] staging: sm750fb: add space after semicolon Message-Id: <1435600536-13135-13-git-send-email-juston.h.li@gmail.com> List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: sudipm.mukherjee@gmail.com, teddy.wang@siliconmotion.com, gregkh@linuxfoundation.org, linux-fbdev@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, dan.carpenter@oracle.com Cc: Juston Li Fixes checkpatch.pl error: ERROR: space required after that ';' Signed-off-by: Juston Li --- drivers/staging/sm750fb/sm750.h | 2 +- drivers/staging/sm750fb/sm750_cursor.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/drivers/staging/sm750fb/sm750.h b/drivers/staging/sm750fb/sm750.h index d6916fd..9b101a9 100644 --- a/drivers/staging/sm750fb/sm750.h +++ b/drivers/staging/sm750fb/sm750.h @@ -168,7 +168,7 @@ struct lynxfb_par { ({ \ unsigned long long hz = 1000*1000*1000*1000ULL; \ do_div(hz, ps); \ - (unsigned long)hz;}) + (unsigned long)hz; }) static inline unsigned long ps_to_hz(unsigned int psvalue) { diff --git a/drivers/staging/sm750fb/sm750_cursor.c b/drivers/staging/sm750fb/sm750_cursor.c index 9dabac1..4ed7ca2 100644 --- a/drivers/staging/sm750fb/sm750_cursor.c +++ b/drivers/staging/sm750fb/sm750_cursor.c @@ -122,7 +122,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, odd=0; */ - for (i = 0;i < count;i++) + for (i = 0; i < count; i++) { color = *pcol++; mask = *pmsk++; @@ -137,7 +137,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, else opr = mask & color; - for (j = 0;j < 8;j++) + for (j = 0; j < 8; j++) { if (opr & (0x80 >> j)) @@ -149,7 +149,7 @@ void hw_cursor_setData(struct lynx_cursor *cursor, } } #else - for (j = 0;j < 8;j++) { + for (j = 0; j < 8; j++) { if (mask & (0x80>>j)) { if (rop = ROP_XOR) opr = mask ^ color; @@ -204,7 +204,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, pstart = cursor->vstart; pbuffer = pstart; - for (i = 0;i < count;i++) + for (i = 0; i < count; i++) { color = *pcol++; mask = *pmsk++; @@ -217,7 +217,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, else opr = mask & color; - for (j = 0;j < 8;j++) + for (j = 0; j < 8; j++) { if (opr & (0x80 >> j)) @@ -229,7 +229,7 @@ void hw_cursor_setData2(struct lynx_cursor *cursor, } } #else - for (j = 0;j < 8;j++) { + for (j = 0; j < 8; j++) { if (mask & (1<