lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 20 Sep 2013 16:45:08 +0200
From:	Iker Pedrosa <ikerpedrosam@...il.com>
To:	Dan Carpenter <dan.carpenter@...cle.com>
Cc:	Adil Mujeeb <mujeeb.adil@...il.com>, Pavel Machek <pavel@....cz>,
	Greg KH <gregkh@...uxfoundation.org>, harsh1kumar@...il.com,
	devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2 15/24] Staging: winbond: reg: seventh of the patches
 that fixes lines over 80 characters

On Tue, 17 Sep 2013 12:43:26 +0300
Dan Carpenter <dan.carpenter@...cle.com> wrote:

> On Tue, Sep 17, 2013 at 02:29:22PM +0530, Adil Mujeeb wrote:
> > Hi,
> > 
> > 
> > >-       PowerData = (1 << 31) | (0 << 30) | (24 << 24) |
> > BitReverse(w89rf242_txvga_data[i][0], 24);
> > >+       PowerData = (1 << 31) | (0 << 30) | (24 << 24)
> > >+                           | BitReverse(w89rf242_txvga_data[i][0], 24);
> > .....
> > .....
> > 
> > >-       reg->M38_MacControl = (DEFAULT_RATE_RETRY_LIMIT << 8) |
> > (DEFAULT_LONG_RETRY_LIMIT << 4) | DEFAULT_SHORT_RETRY_LIMIT;
> > >+       reg->M38_MacControl = (DEFAULT_RATE_RETRY_LIMIT << 8) |
> > >+                                      (DEFAULT_LONG_RETRY_LIMIT << 4) |
> > >+                                      DEFAULT_SHORT_RETRY_LIMIT;
> > 
> > I think consistency is needed. Either break the lines putting the OR
> > operator ( | ) at the start of new line or at the end of each line. People
> > has its own preference but here you have used both style in single file.
> > Just a suggestion.
> > 
> 
> Put the '|' character at the end of the line.  That's the New Unwritten
> Style Guidelines.  Most of the kernel does it this way and it's easier
> to read.
> 
> But this could be fixed in a later patch instead of redoing the whole
> series.
> 
> regards,
> dan carpenter
> 

I will change it for the new version of this patch but I want to wait some days until everybody looks the patches that I've sent.


-- 
Regards,

Iker Pedrosa <ikerpedrosam@...il.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ