Re: [PATCH] Staging: comedi: drivers: fix coding style issues in pcl812.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Jun 15, 2010 at 12:43:31AM -0500, Gustavo Silva wrote:
> 2010/6/14 Ian Abbott <abbotti@xxxxxxxxx>:
> > On 13/06/10 04:25, Gustavo Silva wrote:
> >> + * Driver: pcl812
> >> + * Description: Advantech PCL-812/PG, PCL-813/B,
> >> + *          ADLink ACL-8112DG/HG/PG, ACL-8113, ACL-8216,
> >> + *          ICP DAS A-821PGH/PGL/PGL-NDA, A-822PGH/PGL, A-823PGH/PGL, A-826PG,
> >> + *          ICP DAS ISO-813
> >> + * Author: Michal Dobes <dobes@xxxxxxxxx>
> >> + * Devices: [Advantech] PCL-812 (pcl812), PCL-812PG (pcl812pg),
> >> + * PCL-813 (pcl813), PCL-813B (pcl813b), [ADLink] ACL-8112DG (acl8112dg),
> >> + * ACL-8112HG (acl8112hg), ACL-8113 (acl-8113), ACL-8216 (acl8216),
> >> + * [ICP] ISO-813 (iso813), A-821PGH (a821pgh), A-821PGL (a821pgl),
> >> + * A-821PGL-NDA (a821pclnda), A-822PGH (a822pgh), A-822PGL (a822pgl),
> >> + * A-823PGH (a823pgh), A-823PGL (a823pgl), A-826PG (a826pg)
> >
> > Please add extra whitespace (a tab or a couple of spaces) to the
> > "Devices:" continuation lines here, e.g.:
> >
> >  * Devices: [Advantech] PCL-812 (pcl812), PCL-812PG (pcl812pg),
> >  *   PCL-813 (pcl813), PCL-813B (pcl813b), [ADLink] ACL-8112DG (acl8112dg),
> >  *   ACL-8112HG (acl8112hg), ACL-8113 (acl-8113), ACL-8216 (acl8216),
> >  *   [ICP] ISO-813 (iso813), A-821PGH (a821pgh), A-821PGL (a821pgl),
> >  *   A-821PGL-NDA (a821pclnda), A-822PGH (a822pgh), A-822PGL (a822pgl),
> >  *   A-823PGH (a823pgh), A-823PGL (a823pgl), A-826PG (a826pg)
> >
> > This extra whitespace is for the benefit of some scripts we have in
> > comedi and comedilib for extracting the documentation.  (Actually, these
> > scripts don't handle the " * " at the beginning of the line yet, but I'm
> > working on that!)
> >
> > Thanks.
> >
> > --
> > -=( Ian Abbott @ MEV Ltd.    E-mail: <abbotti@xxxxxxxxx>        )=-
> > -=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-
> >
> 
> Hi Ian,
> 
> Thanks for your comments,
> let me known if this OK for you now.
> 
> Best Regards,
> Gus.
> 
> This is a patch to the pcl812.c file that fixes up the following
> issues:
> 
> ERROR: code indent should use tabs where possible		   x 27
> WARNING: line over 80 characters				   x 37
> WARNING: please, no space before tabs				   x 13
> WARNING: braces {} are not necessary for single statement blocks   x  2
> WARNING: printk() should include KERN_ facility level		   x 22
> WARNING: braces {} are not necessary for any arm of this statement x  5
> 
> Signed-off-by: Gustavo Silva <silvagustavo@xxxxxxxxxxxxxxxxxxxxx>

This patch ended up line-wrapped, can you resend it please?

You can add Ian's signed-off-by to it as well.

thanks,

greg k-h
_______________________________________________
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxx
http://driverdev.linuxdriverproject.org/mailman/listinfo/devel



[Index of Archives]     [Linux Driver Backports]     [DMA Engine]     [Linux GPIO]     [Linux SPI]     [Video for Linux]     [Linux USB Devel]     [Linux Coverity]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux