printk: add and use LOGLEVEL_<level> defines for KERN_<LEVEL> equivalents
authorJoe Perches <joe@perches.com>
Wed, 10 Dec 2014 23:50:15 +0000 (15:50 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:11 +0000 (17:41 -0800)
commita39d4a857d4bb0a62d6655c0d69f7387fe1ad160
treea10a09dd5750a654992d9cd72e940a7c8d0f707a
parentf80e696854c95725cf7faf9776e02f00600780d3
printk: add and use LOGLEVEL_<level> defines for KERN_<LEVEL> equivalents

Use #defines instead of magic values.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Jason Baron <jbaron@akamai.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/storage/debug.c
include/linux/kern_levels.h
kernel/printk/printk.c
lib/dynamic_debug.c