]> git.baikalelectronics.ru Git - kernel.git/commit
lib/plist.c: replace pr_debug with printk in plist_test()
authorDan Streetman <ddstreet@ieee.org>
Wed, 4 Jun 2014 23:11:49 +0000 (16:11 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 4 Jun 2014 23:54:18 +0000 (16:54 -0700)
commite7c92fa657e96ea4a244e6d772005c81db60a204
tree11e76c1b8ceb17c4d639598d20388271edee9211
parent9d327dc44dde2e62d0c9f6a93f93b40dc2bd4b4d
lib/plist.c: replace pr_debug with printk in plist_test()

Replace pr_debug() in lib/plist.c test function plist_test() with
printk(KERN_DEBUG ...).

Without DEBUG defined, pr_debug() is complied out, but the entire
plist_test() function is already inside CONFIG_DEBUG_PI_LIST, so printk
should just be used directly.

Signed-off-by: Dan Streetman <ddstreet@ieee.org>
Reviewed-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
lib/plist.c