linux/Documentation/CodingStyle is a kernel-tree text file with the info that you want.<br><br>The kernel folks can be a little cranky when it comes to making sure everything is in style, so its best to know these things before you start a kernel project so that you don't have to change it all after the fact.  There are scripts in linux/scripts that will massage your cade for you, but to varying degrees, and YMMV.  But they're also discussed in CodingStyle.
<br><br>--matt<br><br><div><span class="gmail_quote">On 4/19/06, <b class="gmail_sendername"><a href="mailto:paul_cour@verizon.net">paul_cour@verizon.net</a></b> <<a href="mailto:paul_cour@verizon.net">paul_cour@verizon.net
</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello<br><br>Recently, I saw some criticism on a<br>Web Site, dedicated to Linux Device Drivers.
<br>The criticism was focused on the way some guy<br>wrote (or formatted) code in a Device Driver<br>that had been submitted for inclusion in the Tree(?)<br>This was a sticky issue of embedding comments<br>within the code...
<br><br>that started me thinking about a Coding Style guide...<br><br>What or where is the accepted coding standard or<br>Style Guide for writing and formatting code<br>for the Linux Kernel?<br><br>thanks for a simple question
<br><br>paulc<br>_______________________________________________<br>Discuss mailing list<br><a href="mailto:Discuss@blu.org">Discuss@blu.org</a><br><a href="http://olduvai.blu.org/mailman/listinfo/discuss">http://olduvai.blu.org/mailman/listinfo/discuss
</a><br></blockquote></div><br><br clear="all"><br>-- <br>Matt Cole, roustabout-at-large