Re: severeCamelCaseInfestation

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

 



Hi Harsh,

On Mon, Jun 3, 2013 at 10:27 PM, Harsh Kumar <harsh1kumar@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs



[Index of Archives]     [Audio]     [Hams]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Fedora Users]

  Powered by Linux