checkpatch: allow c99 style // comments
authorJoe Perches <joe@perches.com>
Tue, 2 Aug 2016 21:04:33 +0000 (14:04 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 2 Aug 2016 23:35:11 +0000 (19:35 -0400)
commitdadf680de3c2eb4cba9840619991eda0cfe98778
tree9d6469aab32bf962c5ee55940b3d5f4f8537eccc
parentd560a5f8a46e98c2f83c5fe699e1d6f6393a14cf
checkpatch: allow c99 style // comments

Sanitise the lines that contain c99 comments so that the error doesn't
get emitted.

Link: http://lkml.kernel.org/r/d4d22c34ad7bcc1bceb52f0742f76b7a6d585235.1468368420.git.joe@perches.com
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl