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]
Message-ID: <Pine.LNX.4.44L0.1405191540040.1538-100000@iolanthe.rowland.org>
Date:	Mon, 19 May 2014 15:43:01 -0400 (EDT)
From:	Alan Stern <stern@...land.harvard.edu>
To:	Ricardo Ribalda Delgado <ricardo.ribalda@...il.com>
cc:	balbi@...com, <gregkh@...uxfoundation.org>,
	<linux-kernel@...r.kernel.org>, <linux-usb@...r.kernel.org>,
	<joe@...ches.com>, <auttamchandani@...icube.com>
Subject: Re: [PATCH 4/5] usb: gadget: net2280: Code Cleanup

On Mon, 19 May 2014, Ricardo Ribalda Delgado wrote:

> Move logical continuations to end of line

This is almost totally unnecessary.  Some people prefer the 
operators at the end of the first line, other people prefer them at the 
start of the next line.  It's just a matter of taste and it doesn't 
matter.

> @@ -402,8 +402,8 @@ static void ep_reset_228x(struct net2280_regs __iomem *regs,
>  		BIT(DATA_PACKET_RECEIVED_INTERRUPT) |
>  		BIT(DATA_PACKET_TRANSMITTED_INTERRUPT) |
>  		BIT(DATA_OUT_PING_TOKEN_INTERRUPT) |
> -		BIT(DATA_IN_TOKEN_INTERRUPT)
> -		, &ep->regs->ep_stat);
> +		BIT(DATA_IN_TOKEN_INTERRUPT),
> +		&ep->regs->ep_stat);

This is an example of the one type of change that does make sense.  
Nobody should start lines with a ','.

Alan Stern

--
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