lkml.org 
[lkml]   [2009]   [Apr]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 09/10] Driver core: remove pr_fmt() from dynamic_dev_dbg() printk
    Date
    From: Jason Baron <jbaron@redhat.com>

    When pr_fmt() was added to the pr_debug() code, we added it not only to the
    dynamic_pr_debug() function, but also to the dynamic_dev_dbg() funciton.
    However, dev_dbg() doesn't make use of pr_fmt(), so neither should
    dynamic_dev_dbg().

    Signed-off-by: Jason Baron <jbaron@redhat.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
    ---
    include/linux/dynamic_debug.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/include/linux/dynamic_debug.h b/include/linux/dynamic_debug.h
    index baabf33..a0d9422 100644
    --- a/include/linux/dynamic_debug.h
    +++ b/include/linux/dynamic_debug.h
    @@ -70,7 +70,7 @@ extern int ddebug_remove_module(char *mod_name);
    DEBUG_HASH2, __LINE__, _DPRINTK_FLAGS_DEFAULT }; \
    if (__dynamic_dbg_enabled(descriptor)) \
    dev_printk(KERN_DEBUG, dev, \
    - KBUILD_MODNAME ": " pr_fmt(fmt),\
    + KBUILD_MODNAME ": " fmt, \
    ##__VA_ARGS__); \
    } while (0)

    --
    1.6.2


    \
     
     \ /
      Last update: 2009-04-17 21:15    [W:0.035 / U:89.564 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site