Re: [PATCH v2 3/5] drivers: usb: core: devio.c: Braces around if-elseif-else

2013-10-16 Thread Greg KH
On Mon, Oct 14, 2013 at 09:46:38PM +0200, Matthias Beyer wrote: > This patch applies the rules for braces to the if-elseif-else statement > in proc_ioctl(). > > As the kernel styleguide says: If there is at least one multiline block > in a if-else branching, we should add braces around all blocks.

[PATCH v2 3/5] drivers: usb: core: devio.c: Braces around if-elseif-else

2013-10-14 Thread Matthias Beyer
This patch applies the rules for braces to the if-elseif-else statement in proc_ioctl(). As the kernel styleguide says: If there is at least one multiline block in a if-else branching, we should add braces around all blocks. This includes braces around the switch-statement on the else branch, whic