Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757397Ab2FQNry (ORCPT ); Sun, 17 Jun 2012 09:47:54 -0400 Received: from mail-pb0-f46.google.com ([209.85.160.46]:35810 "EHLO mail-pb0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757271Ab2FQNrx (ORCPT ); Sun, 17 Jun 2012 09:47:53 -0400 From: Devendra Naga To: Greg Kroah-Hartman , "Justin P. Mattock" , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Cc: Devendra Naga Subject: [PATCH 1/2] staging/rtl8192u: cleanup coding style problems Date: Sun, 17 Jun 2012 19:17:40 +0530 Message-Id: <1339940861-18258-1-git-send-email-devendra.aaru@gmail.com> X-Mailer: git-send-email 1.7.9.5 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 4075 Lines: 104 The following warnings / errors were cleaned drivers/staging/rtl8192u/r8180_93cx6.c:25: ERROR: space required before the open parenthesis '(' drivers/staging/rtl8192u/r8180_93cx6.c:28: ERROR: do not use C99 // comments drivers/staging/rtl8192u/r8180_93cx6.c:30: WARNING: line over 80 characters drivers/staging/rtl8192u/r8180_93cx6.c:31: ERROR: do not use C99 // comments drivers/staging/rtl8192u/r8180_93cx6.c:41: ERROR: space required after that ',' (ctx:VxV) drivers/staging/rtl8192u/r8180_93cx6.c:45: ERROR: need consistent spacing a round '&' (ctx:WxO) drivers/staging/rtl8192u/r8180_93cx6.c:45: ERROR: space prohibited after that '~' (ctx:OxW) drivers/staging/rtl8192u/r8180_93cx6.c:51: ERROR: space required after that ',' (ctx:VxV) drivers/staging/rtl8192u/r8180_93cx6.c:53: ERROR: space required before the open parenthesis '(' drivers/staging/rtl8192u/r8180_93cx6.c:55: ERROR: space required after that ',' (ctx:VxV) drivers/staging/rtl8192u/r8180_93cx6.c:57: ERROR: space required after that ',' (ctx:VxV) drivers/staging/rtl8192u/r8180_93cx6.c:69: ERROR: spaces required around that '=' (ctx:VxV) drivers/staging/rtl8192u/r8180_93cx6.c:69: ERROR: space prohibited before that close parenthesis ')' drivers/staging/rtl8192u/r8180_93cx6.c:72: ERROR: space required before the open parenthesis '(' drivers/staging/rtl8192u/r8180_93cx6.c:72: ERROR: trailing statements should be on next line Signed-off-by: Devendra Naga --- drivers/staging/rtl8192u/r8180_93cx6.c | 35 +++++++++++++++++--------------- 1 file changed, 19 insertions(+), 16 deletions(-) diff --git a/drivers/staging/rtl8192u/r8180_93cx6.c b/drivers/staging/rtl8192u/r8180_93cx6.c index 3c515b7..e48a5aa 100644 --- a/drivers/staging/rtl8192u/r8180_93cx6.c +++ b/drivers/staging/rtl8192u/r8180_93cx6.c @@ -22,13 +22,17 @@ void eprom_cs(struct net_device *dev, short bit) { - if(bit) + if (bit) { + /* enable EPROM */ write_nic_byte_E(dev, EPROM_CMD, - (1<