lkml.org 
[lkml]   [2005]   [Jul]   [13]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateWed, 13 Jul 2005 00:09:23 -0700
FromPaul Jackson <>
SubjectRe: kernel guide to space
Nice work - thanks.

A couple of possible additions:

 * Keep lines within 80 columns.

 * Be consistent in use of tabs versus spaces.  If the
   rest of a file is indented using tabs, then any change
   you make should be indented the same way, not with
   spaces.  It is easy to unknowingly introduce spaces in
   a patch by cutting and pasting something in one of the
   many desktop UI environments that dont preserve tabs
   across a cut and paste.

 * See also Documentation/kernel-doc-nano-HOWTO.txt for
   formatting the documentation for external functions
   and data to work with the kernels DocBook automatically
   extractable documentation.

 * Multiline comments are shown as:

	/*
	 * This is a big comment.  It is full of sound
	 * and fury, signifying nothing. Now is the time
	 * for all good men to come to the aid of their
	 * country.
	 */
-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-07-13 09:12    [from the cache]
©2003-2008