X-GM-THRID: 10397500309504 X-Google-Groups: outreachy-kernel X-Google-Thread: 9ca63f596c,6a06eb6a651084c5 X-Google-Attributes: gid9ca63f596c,domainid0,private,googlegroup X-Google-NewGroupId: yes X-Received: by 10.182.129.166 with SMTP id nx6mr47657964obb.35.1427902675618; Wed, 01 Apr 2015 08:37:55 -0700 (PDT) X-BeenThere: outreachy-kernel@googlegroups.com Received: by 10.140.28.183 with SMTP id 52ls311637qgz.49.gmail; Wed, 01 Apr 2015 08:37:55 -0700 (PDT) X-Received: by 10.236.27.52 with SMTP id d40mr9102058yha.13.1427902675394; Wed, 01 Apr 2015 08:37:55 -0700 (PDT) Return-Path: Received: from mail.linuxfoundation.org (mail.linuxfoundation.org. [140.211.169.12]) by gmr-mx.google.com with ESMTPS id dv5si263578pbb.0.2015.04.01.08.37.55 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 01 Apr 2015 08:37:55 -0700 (PDT) Received-SPF: pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) client-ip=140.211.169.12; Authentication-Results: gmr-mx.google.com; spf=pass (google.com: domain of gregkh@linuxfoundation.org designates 140.211.169.12 as permitted sender) smtp.mail=gregkh@linuxfoundation.org Received: from localhost (samsung-greg.rsr.lip6.fr [132.227.76.96]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 8077C268; Wed, 1 Apr 2015 15:37:54 +0000 (UTC) Date: Wed, 1 Apr 2015 17:37:51 +0200 From: Greg KH To: Charlie Wong Super <1213charlie@gmail.com> Cc: outreachy-kernel@googlegroups.com Subject: Re: [Outreachy kernel] [PATH v3] Staging: comedi: addi_apci_1564: Delete whitespace Message-ID: <20150401153751.GB881@kroah.com> References: <20150331060813.GA23522@ThinkPad> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150331060813.GA23522@ThinkPad> User-Agent: Mutt/1.5.23 (2014-03-12) On Tue, Mar 31, 2015 at 02:08:13PM +0800, Charlie Wong Super wrote: > Fix the checkpatch.pl WARNING: line over 80 characters > > Signed-off-by: Charlie Wong Super <1213charlie@gmail.com> > --- > Changes in v2: > edit the commit message, make it clear! > Changes in v3: > about the commit and patch style problem! > > drivers/staging/comedi/drivers/addi_apci_1564.c | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) > > diff --git a/drivers/staging/comedi/drivers/addi_apci_1564.c b/drivers/staging/comedi/drivers/addi_apci_1564.c > index c481c48..dd335e8 100644 > --- a/drivers/staging/comedi/drivers/addi_apci_1564.c > +++ b/drivers/staging/comedi/drivers/addi_apci_1564.c > @@ -106,12 +106,12 @@ > #define APCI1564_COUNTER(x) ((x) * 0x20) > > struct apci1564_private { > - unsigned long eeprom; /* base address of EEPROM register */ > - unsigned long timer; /* base address of 12-bit timer */ > - unsigned long counters; /* base address of 32-bit counters */ > - unsigned int mode1; /* riding-edge/high level channels */ > - unsigned int mode2; /* falling-edge/low level channels */ > - unsigned int ctrl; /* interrupt mode OR (edge) . AND (level) */ > + unsigned long eeprom; /*base address of EEPROM register*/ > + unsigned long timer; /*base address of 12-bit timer*/ > + unsigned long counters; /*base address of 32-bit counters*/ > + unsigned int mode1; /*riding-edge/high level channels*/ > + unsigned int mode2; /*falling-edge/low level channels*/ > + unsigned int ctrl; /*interrupt mode OR (edge).AND(level)*/ That makes the code look worse, sorry, we can't take this. It's correct to have ' ' in comments after and before the '*' character. thanks, greg k-h