diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2011-03-17 15:46:58 -0400 |
---|---|---|
committer | Grant Likely <grant.likely@secretlab.ca> | 2011-03-17 15:48:06 -0400 |
commit | 2dd22997679a88874c131f6e6ffb963e6d43b3a6 (patch) | |
tree | bfe1707dda7e755b8b550c6796e2649813bcfbb9 /Documentation/CodingStyle | |
parent | 36885ff0e6563687e6152da6d311abbf83c0198f (diff) | |
parent | 7b7adc4a016a1decb806eb71ecab98721fa7f146 (diff) |
Merge remote-tracking branch 'origin' into spi/next
Pull in Linus' tree to pick up changes required for the langwell gpio fixes
Diffstat (limited to 'Documentation/CodingStyle')
-rw-r--r-- | Documentation/CodingStyle | 5 |
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> | |||
659 | which you should use to make sure messages are matched to the right device | 659 | which you should use to make sure messages are matched to the right device |
660 | and driver, and are tagged with the right level: dev_err(), dev_warn(), | 660 | and driver, and are tagged with the right level: dev_err(), dev_warn(), |
661 | dev_info(), and so forth. For messages that aren't associated with a | 661 | dev_info(), and so forth. For messages that aren't associated with a |
662 | particular device, <linux/kernel.h> defines pr_debug() and pr_info(). | 662 | particular device, <linux/printk.h> defines pr_debug() and pr_info(). |
663 | 663 | ||
664 | Coming up with good debugging messages can be quite a challenge; and once | 664 | Coming up with good debugging messages can be quite a challenge; and once |
665 | you have them, they can be a huge help for remote troubleshooting. Such | 665 | you 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/ | |||
819 | Kernel CodingStyle, by greg@kroah.com at OLS 2002: | 819 | Kernel CodingStyle, by greg@kroah.com at OLS 2002: |
820 | http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/ | 820 | http://www.kroah.com/linux/talks/ols_2002_kernel_codingstyle_talk/html/ |
821 | 821 | ||
822 | -- | ||
823 | Last updated on 2007-July-13. | ||
824 | |||