[lkml]   [2011]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    Patch in this message
    Subject[PATCH] Documentation/CodingStyle: fixed header file for pr_info() and pr_debug(). Removed unnecessary "Last updated" line
    pr_info() and pr_debug() are in linux/printk.h
    Last updated is unnecessary, we have git for that

    Signed-off-by: Roland Kammerer <>
    Documentation/CodingStyle | 5 +----
    1 files changed, 1 insertions(+), 4 deletions(-)

    diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
    index 8bb3723..1cd3478 100644
    --- a/Documentation/CodingStyle
    +++ b/Documentation/CodingStyle
    @@ -659,7 +659,7 @@ There are a number of driver model diagnostic
    macros in <linux/device.h>
    which you should use to make sure messages are matched to the right device
    and driver, and are tagged with the right level: dev_err(), dev_warn(),
    dev_info(), and so forth. For messages that aren't associated with a
    -particular device, <linux/kernel.h> defines pr_debug() and pr_info().
    +particular device, <linux/printk.h> defines pr_debug() and pr_info().

    Coming up with good debugging messages can be quite a challenge; and once
    you have them, they can be a huge help for remote troubleshooting. Such
    @@ -819,6 +819,3 @@ language C, URL:
    Kernel CodingStyle, by at OLS 2002:

    -Last updated on 2007-July-13.

     \ /
      Last update: 2011-03-07 22:13    [W:0.024 / U:71.512 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site