Re: [PATCH 2/3] usb: gadget: introduce UDC Class

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

 



On Wed, 25 May 2011, Michal Nazarewicz wrote:

> >> Coding style requires the braces be dropped though.
> >> http://lxr.linux.no/linux+*/Documentation/CodingStyle#L166
> 
> > Since you insist, I'm going to change this.
> 
> If it were up to me I would require the braces, but the coding style
> knows no mercy. ;)

You know, it's always possible to change CodingStyle.  I would prefer 
it if braces were disallowed for single-line bodies but allowed for 
multi-line bodies, even if the body was syntactically a single 
statement.

After all, the purpose of coding style is to increase readability.  
Readability depends on how many lines of code are affected, not on
whether those lines comprise one vs. two C language statements.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux