checkpatch: fix defect in printk(KERN_<LEVEL> 80 column exceptions
authorJoe Perches <joe@perches.com>
Wed, 25 May 2011 00:13:41 +0000 (17:13 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 25 May 2011 15:39:56 +0000 (08:39 -0700)
commit0fccc6221821e07366aa44bca112c4edb6d04dd7
treeb99a4d1b7df909b4eb3a876cc6ec75d3641ea943
parentb05317221b7607ba61ee921c31867ed08912aa46
checkpatch: fix defect in printk(KERN_<LEVEL> 80 column exceptions

Currently, printk lines with a only KERN_PREFIX and a quoted string
without a comma or close paren that exceed 80 columns are flagged with a
warning.

ie:
printk(KERN_WARNING "some long string that extends beond 80 cols..."
       "and is continued on another line\n");

Allow this form instead of emitting a warning.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: 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