aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Kammerer <dev.rck@gmail.com>2011-03-15 19:11:52 -0400
committerLinus Torvalds <torvalds@linux-foundation.org>2011-03-16 13:47:03 -0400
commitaa4862c38b179646cea73adae41e0078ba05bb60 (patch)
tree11a740a51c11ae4a79d495657876477be8d70bbb
parenta994a85543b3edcc117977f72cf8b4935dd0bc39 (diff)
Documentation: update header filename in CodingStyle
pr_info() and pr_debug() are in linux/printk.h, not linux/kernel.h. Last updated is unnecessary, we have git for that. Signed-off-by: Roland Kammerer <dev.rck@gmail.com> Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com> Acked-by: Harry Wei <harryxiyou@gmail.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
-rw-r--r--Documentation/CodingStyle5
1 files changed, 1 insertions, 4 deletions
diff --git a/Documentation/CodingStyle b/Documentation/CodingStyle
index 8bb37237ebd2..1cd3478e5834 100644
--- a/Documentation/CodingStyle
+++ b/Documentation/CodingStyle
@@ -659,7 +659,7 @@ There are a number of driver model diagnostic macros in <linux/device.h>
659which you should use to make sure messages are matched to the right device 659which you should use to make sure messages are matched to the right device
660and driver, and are tagged with the right level: dev_err(), dev_warn(), 660and driver, and are tagged with the right level: dev_err(), dev_warn(),
661dev_info(), and so forth. For messages that aren't associated with a 661dev_info(), and so forth. For messages that aren't associated with a
662particular device, <linux/kernel.h> defines pr_debug() and pr_info(). 662particular device, <linux/printk.h> defines pr_debug() and pr_info().
663 663
664Coming up with good debugging messages can be quite a challenge; and once 664Coming up with good debugging messages can be quite a challenge; and once
665you have them, they can be a huge help for remote troubleshooting. Such 665you have them, they can be a huge help for remote troubleshooting. Such
@@ -819,6 +819,3 @@ language C, URL: http://www.open-std.org/JTC1/SC22/WG14/
819Kernel CodingStyle, by greg@kroah.com at OLS 2002: 819Kernel CodingStyle, by greg@kroah.com at OLS 2002:
820http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/ 820http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/
821 821
822--
823Last updated on 2007-July-13.
824