Re: [PATCH] plist: replace pr_debug with printk in plist_test()

From: Steven Rostedt
Date: Mon May 05 2014 - 10:52:47 EST


On Mon, 5 May 2014 10:43:05 -0400
Dan Streetman <ddstreet@xxxxxxxx> wrote:

> 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@xxxxxxxx>
> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx>

Reviewed-by: Steven Rostedt <rostedt@xxxxxxxxxxx>

-- Steve

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/