[PATCH 5/5] staging: bcm: fix errors and warnings by checkpatch.pl in IPv6Protocol.c

Dan Carpenter dan.carpenter at oracle.com
Mon Feb 20 19:15:35 UTC 2012


On Tue, Feb 21, 2012 at 12:30:43AM +0530, Pradheep Shrinivasan wrote:
> I understand now ..  can i add the braces to all the case statements or add
> them to only those that have local variables defined/declared in them ?

Only to places which have local variables.  The rule of thumb is
don't do things unless you need to.

regards,
dan carpenter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://driverdev.linuxdriverproject.org/pipermail/driverdev-devel/attachments/20120220/347cc77c/attachment-0001.asc>


More information about the devel mailing list