All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charlie WONG Super <1213charlie@gmail.com>
To: Greg KH <gregkh@linuxfoundation.org>
Cc: outreachy-kernel@googlegroups.com
Subject: Re: [Outreachy kernel] [PATH v3] Staging: comedi: addi_apci_1564: Delete whitespace
Date: Thu, 02 Apr 2015 14:32:06 +0800	[thread overview]
Message-ID: <551CE266.7010503@gmail.com> (raw)
In-Reply-To: <20150401153751.GB881@kroah.com>

On 2015年04月01日 23:37, Greg KH wrote:
> 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
ok, got it, I will do much more work!
Thanks for your review!


  reply	other threads:[~2015-04-02  6:32 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31  6:08 [PATH v3] Staging: comedi: addi_apci_1564: Delete whitespace Charlie Wong Super
2015-03-31  6:12 ` [Outreachy kernel] " Julia Lawall
2015-03-31  6:18   ` Charlie WONG Super
2015-04-01 15:37 ` Greg KH
2015-04-02  6:32   ` Charlie WONG Super [this message]
2015-04-02 10:10   ` [PATCH v4] Staging: comedi: addi_apci_1564: Delete a tap Charlie WONG Super

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=551CE266.7010503@gmail.com \
    --to=1213charlie@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=outreachy-kernel@googlegroups.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.