Discussion:
severeCamelCaseInfestation
Pankaj Jangra
2013-07-07 18:26:32 UTC
Permalink
Hi Harsh,
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 ***@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

Loading...