]> err.no Git - linux-2.6/commit
Fix Lindent to not indent preprocessor comments so far
authorMatthew Wilcox <matthew@wil.cx>
Fri, 20 Jul 2007 15:29:50 +0000 (09:29 -0600)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Fri, 20 Jul 2007 15:45:38 +0000 (08:45 -0700)
commite609ccc3161ead8a685b15533d9b6958ed368358
tree077c4918204792f131b35749519d01cd5363d31f
parent178554ae75739e91dc4d7c3e42a3db95448cc5bf
Fix Lindent to not indent preprocessor comments so far

I recently ran Lindent over the AdvanSys driver and it moved the
comments on #else and #endif lines way over to the right:

#else                          /* ADVANSYS_DEBUG */

This doesn't match what I expect from kernel style, but it is
documented.  We just need another flag to indent to make this look like:

#else /* ADVANSYS_DEBUG */

Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/Lindent