checkpatch: handle comment/quote nesting correctly
authorAndy Whitcroft <apw@shadowen.org>
Thu, 16 Oct 2008 05:02:26 +0000 (22:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 16 Oct 2008 18:21:36 +0000 (11:21 -0700)
commit81bc0e020232a1e1e7010376382bb59ca82927ac
tree2b2efb18efca7c9a17d4e1f32d40f94f95101d57
parentdea33496ddc2bf1a50e9def87b4ef14709d8cb6d
checkpatch: handle comment/quote nesting correctly

Ensure that a close comment cannot incorrectly trigger in the middle of a
string.  Reported by Jaswinder Singh.

Signed-off-by: Andy Whitcroft <apw@shadowen.org>
Cc: Jaswinder Singh <jaswinder@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl