]> bbs.cooldavid.org Git - net-next-2.6.git/commit
checkpatch: handle C99 comments correctly (performance issue)
authorDaniel Walker <dwalker@fifo99.com>
Tue, 22 Sep 2009 00:04:35 +0000 (17:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 22 Sep 2009 14:17:47 +0000 (07:17 -0700)
commit113f04a836481e9ecc26e8dee8b0e4d52878a288
tree3f6261a456fd09d2219bb2fe80d90fd0c093f753
parent463f28648586721c2191130c9b3c27589dcc11a0
checkpatch: handle C99 comments correctly (performance issue)

This fixes the sanitation process in checkpatch.pl so that it blocks out
the text after a C99 style comment the same way it does with block style
comments.  This prevents the text from getting processed as regular code.

Signed-off-by: Daniel Walker <dwalker@fifo99.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl