commit | f78d98f6ce66fc7cc0be714d56b0240923a8b4f4 | [log] [tgz] |
---|---|---|
author | Joe Perches <joe@perches.com> | Mon Oct 13 15:52:01 2014 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Oct 14 02:18:15 2014 +0200 |
tree | 36223291ffb6e126634841301453262c616a0ca7 | |
parent | 840080a08492bd2bb3314077b672b59c88bbe0e6 [diff] |
checkpatch: warn on logging functions with KERN_<LEVEL> Warn on probable misuses of logging functions with KERN_<LEVEL> like pr_err(KERN_ERR "foo\n"); Signed-off-by: Joe Perches <joe@perches.com> Suggested-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>