lkml.org 
[lkml]   [2014]   [Feb]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Staging: comedi: Fix line length exceeding 80 characters
On Tue, Feb 25, 2014 at 01:59:25AM -0800, Joe Perches wrote:
> On Tue, 2014-02-25 at 09:46 +0000, Ian Abbott wrote:
> > On 2014-02-24 16:49, Monam Agarwal wrote:
> []
> > > diff --git a/drivers/staging/comedi/comedi_fops.c b/drivers/staging/comedi/comedi_fops.c
> []
> > > @@ -1481,7 +1481,8 @@ static int do_cmd_ioctl(struct comedi_device *dev,
> > > async->cmd.data = NULL;
> > > /* load channel/gain list */
> > > async->cmd.chanlist = memdup_user(user_chanlist,
> > > - async->cmd.chanlist_len * sizeof(int));
> > > + async->cmd.chanlist_len
> > > + * sizeof(int));
> >
> > The `*` operator should go at the end of the line according to the
> > CodingStyle.
>
> I don't believe there's a CodingStyle guide for this.
>

Meanwhile you have felt totally justified in correcting me on this in
the past. :P

Anyway, it should be that the operator goes on the first line like Ian
says...

regards,
dan carpenter



\
 
 \ /
  Last update: 2014-02-25 12:41    [W:0.049 / U:26.424 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site