Messages in this thread | | | Date | Thu, 1 Oct 2009 17:08:46 -0400 | From | Jason Baron <> | Subject | Re: [PATCH] dynamic_debug.h/kernel.h: Remove KBUILD_MODNAME from dynamic_pr_debug |
| |
On Wed, Sep 30, 2009 at 01:36:17PM -0700, Joe Perches wrote: > If CONFIG_DYNAMIC_DEBUG is enabled and a source file has: > > #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt > #include <linux/kernel.h> > > dynamic_debug.h will duplicate KBUILD_MODNAME > in the output string. > > Remove the use of KBUILD_MODNAME from the > output format string generated by dynamic_debug.h > > If CONFIG_DYNAMIC_DEBUG is not enabled, no compile-time > check is done to printk/dev_printk arguments. > > Add it. >
looks good. thanks for updating this.
Acked-by: Jason Baron <jbaron@redhat.com>
| |