Re: severeCamelCaseInfestation
Pankaj Jangra <[email protected]> Sun, 7 Jul 2013 11:26:32 -0700
| Newsgroups | org.kernel.vger.linux-newbie |
|---|---|
| Message-ID | <CADTbHxpZPwoUje=hxBddxEE61zhbAMDi=bJ1Y+WHfnS_RvXRbg@mail.gmail.com> |
Hi Harsh, On Mon, Jun 3, 2013 at 10:27 PM, Harsh Kumar <[email protected]> wrote: > Hi, > > 1.) What is the naming convention/style for linux kernel? Is camel case not allowed & only snake case is allowed? > > I found a TODO in drivers/staging/winbond/TODO which says - fix severeCamelCaseInfestation > > 2.) If only snake case is to be used, are there any other stipulations (like starting a type of variable name with underscore) ? > > 3.) I have read Documentation/CodingStyle. Is there any other document on this? > This document is sufficient in my opinion. Also you can check your changes with scripts/checkpatch.pl. This scripts will also help you to learn more. Regards, Pankaj Jangra -- To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.linux-learn.org/faqs