]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: suggest pr_<level> over printk(KERN_<LEVEL>
authorJoe Perches <joe@perches.com>
Thu, 3 May 2012 05:44:31 +0000 (15:44 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Thu, 3 May 2012 05:46:50 +0000 (15:46 +1000)
commit66115a5efca1681947753d2a9e0080f01533331d
tree7f4b99ab15cffc83eb1a69989afc3a3e2d131a14
parent9b24a88b06510d114be41ab29a8e9f5b4e845926
checkpatch: suggest pr_<level> over printk(KERN_<LEVEL>

Suggest the shorter pr_<level> instead of printk(KERN_<LEVEL>.

Prefer to use pr_<level> over bare printks.
Prefer to use pr_warn over pr_warning.

Signed-off-by: Joe Perches <joe@perches.com>
Cc: Andy Whitcroft <apw@shadowen.org>
Cc: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/checkpatch.pl