lkml.org 
[lkml]   [2012]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 4/8] drivers/staging/line6/config.h: changed printk(KERN_INFO, ... to pr_info(
    Date
    Changed printk(KERN_INFO, ...) call to pr_info call in CHECKPOINT macro

    Signed-off-by: Johannes Thumshirn <morbidrsa@googlemail.com>
    ---
    drivers/staging/line6/config.h | 2 +-
    1 files changed, 1 insertions(+), 1 deletions(-)

    diff --git a/drivers/staging/line6/config.h b/drivers/staging/line6/config.h
    index f8a5149..a82d8bf 100644
    --- a/drivers/staging/line6/config.h
    +++ b/drivers/staging/line6/config.h
    @@ -34,7 +34,7 @@
    #define CREATE_RAW_FILE 0

    #if DO_DEBUG_MESSAGES
    -#define CHECKPOINT printk(KERN_INFO "line6usb: %s (%s:%d)\n", \
    +#define CHECKPOINT pr_info("line6usb: %s (%s:%d)\n", \
    __func__, __FILE__, __LINE__)
    #endif

    --
    1.7.7.6


    \
     
     \ /
      Last update: 2012-05-05 17:01    [W:0.044 / U:0.004 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site