]> git.karo-electronics.de Git - karo-tx-linux.git/commit
checkpatch: suggest pr_<level> over printk(KERN_<LEVEL>
authorJoe Perches <joe@perches.com>
Wed, 25 Apr 2012 01:04:36 +0000 (11:04 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Mon, 30 Apr 2012 05:17:35 +0000 (15:17 +1000)
commit2c7063705d9a99f72b79a4825e5902ef91832853
treef6ec6fdb9bdc1f503f5e9980a4ff17d6c8facb2e
parente21ab57ab354093084d3a472a0e7000bbfe64b3f
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