|
Revision tags: v6.15, v6.15-rc7, v6.15-rc6, v6.15-rc5, v6.15-rc4, v6.15-rc3, v6.15-rc2, v6.15-rc1, v6.14, v6.14-rc7, v6.14-rc6, v6.14-rc5, v6.14-rc4, v6.14-rc3, v6.14-rc2, v6.14-rc1, v6.13, v6.13-rc7, v6.13-rc6, v6.13-rc5, v6.13-rc4, v6.13-rc3, v6.13-rc2, v6.13-rc1, v6.12, v6.12-rc7, v6.12-rc6, v6.12-rc5, v6.12-rc4, v6.12-rc3, v6.12-rc2, v6.12-rc1, v6.11, v6.11-rc7, v6.11-rc6, v6.11-rc5, v6.11-rc4, v6.11-rc3, v6.11-rc2, v6.11-rc1, v6.10, v6.10-rc7, v6.10-rc6, v6.10-rc5, v6.10-rc4, v6.10-rc3, v6.10-rc2, v6.10-rc1, v6.9, v6.9-rc7, v6.9-rc6, v6.9-rc5, v6.9-rc4, v6.9-rc3, v6.9-rc2, v6.9-rc1, v6.8, v6.8-rc7, v6.8-rc6, v6.8-rc5, v6.8-rc4, v6.8-rc3, v6.8-rc2, v6.8-rc1, v6.7, v6.7-rc8, v6.7-rc7, v6.7-rc6, v6.7-rc5, v6.7-rc4, v6.7-rc3, v6.7-rc2, v6.7-rc1, v6.6, v6.6-rc7, v6.6-rc6, v6.6-rc5, v6.6-rc4, v6.6-rc3, v6.6-rc2, v6.6-rc1, v6.5, v6.5-rc7, v6.5-rc6, v6.5-rc5, v6.5-rc4, v6.5-rc3, v6.5-rc2, v6.5-rc1, v6.4, v6.4-rc7, v6.4-rc6, v6.4-rc5, v6.4-rc4, v6.4-rc3, v6.4-rc2, v6.4-rc1, v6.3, v6.3-rc7, v6.3-rc6, v6.3-rc5, v6.3-rc4, v6.3-rc3, v6.3-rc2, v6.3-rc1, v6.2, v6.2-rc8, v6.2-rc7, v6.2-rc6, v6.2-rc5, v6.2-rc4, v6.2-rc3, v6.2-rc2, v6.2-rc1, v6.1, v6.1-rc8, v6.1-rc7, v6.1-rc6, v6.1-rc5, v6.1-rc4, v6.1-rc3, v6.1-rc2, v6.1-rc1, v6.0, v6.0-rc7, v6.0-rc6, v6.0-rc5, v6.0-rc4, v6.0-rc3, v6.0-rc2, v6.0-rc1, v5.19, v5.19-rc8, v5.19-rc7, v5.19-rc6, v5.19-rc5, v5.19-rc4, v5.19-rc3, v5.19-rc2, v5.19-rc1, v5.18, v5.18-rc7, v5.18-rc6, v5.18-rc5, v5.18-rc4, v5.18-rc3, v5.18-rc2, v5.18-rc1, v5.17, v5.17-rc8, v5.17-rc7, v5.17-rc6, v5.17-rc5, v5.17-rc4, v5.17-rc3, v5.17-rc2, v5.17-rc1, v5.16, v5.16-rc8, v5.16-rc7, v5.16-rc6, v5.16-rc5, v5.16-rc4, v5.16-rc3, v5.16-rc2, v5.16-rc1, v5.15, v5.15-rc7, v5.15-rc6, v5.15-rc5, v5.15-rc4, v5.15-rc3, v5.15-rc2, v5.15-rc1, v5.14, v5.14-rc7, v5.14-rc6, v5.14-rc5, v5.14-rc4, v5.14-rc3, v5.14-rc2, v5.14-rc1, v5.13, v5.13-rc7, v5.13-rc6, v5.13-rc5, v5.13-rc4, v5.13-rc3, v5.13-rc2, v5.13-rc1, v5.12, v5.12-rc8, v5.12-rc7, v5.12-rc6, v5.12-rc5, v5.12-rc4, v5.12-rc3, v5.12-rc2, v5.12-rc1, v5.12-rc1-dontuse, v5.11, v5.11-rc7, v5.11-rc6, v5.11-rc5, v5.11-rc4, v5.11-rc3, v5.11-rc2, v5.11-rc1, v5.10, v5.10-rc7, v5.10-rc6, v5.10-rc5, v5.10-rc4, v5.10-rc3, v5.10-rc2, v5.10-rc1, v5.9, v5.9-rc8, v5.9-rc7, v5.9-rc6, v5.9-rc5, v5.9-rc4, v5.9-rc3, v5.9-rc2, v5.9-rc1, v5.8, v5.8-rc7, v5.8-rc6, v5.8-rc5, v5.8-rc4, v5.8-rc3, v5.8-rc2, v5.8-rc1, v5.7, v5.7-rc7, v5.7-rc6, v5.7-rc5, v5.7-rc4, v5.7-rc3, v5.7-rc2, v5.7-rc1, v5.6, v5.6-rc7, v5.6-rc6, v5.6-rc5, v5.6-rc4, v5.6-rc3, v5.6-rc2, v5.6-rc1, v5.5, v5.5-rc7, v5.5-rc6, v5.5-rc5, v5.5-rc4, v5.5-rc3, v5.5-rc2, v5.5-rc1, v5.4, v5.4-rc8, v5.4-rc7, v5.4-rc6, v5.4-rc5, v5.4-rc4, v5.4-rc3, v5.4-rc2, v5.4-rc1, v5.3, v5.3-rc8, v5.3-rc7, v5.3-rc6, v5.3-rc5, v5.3-rc4, v5.3-rc3, v5.3-rc2, v5.3-rc1, v5.2, v5.2-rc7, v5.2-rc6, v5.2-rc5, v5.2-rc4, v5.2-rc3, v5.2-rc2, v5.2-rc1, v5.1, v5.1-rc7, v5.1-rc6, v5.1-rc5, v5.1-rc4, v5.1-rc3, v5.1-rc2, v5.1-rc1, v5.0, v5.0-rc8, v5.0-rc7, v5.0-rc6, v5.0-rc5, v5.0-rc4, v5.0-rc3, v5.0-rc2, v5.0-rc1, v4.20, v4.20-rc7, v4.20-rc6, v4.20-rc5, v4.20-rc4, v4.20-rc3, v4.20-rc2, v4.20-rc1, v4.19, v4.19-rc8, v4.19-rc7, v4.19-rc6, v4.19-rc5, v4.19-rc4, v4.19-rc3, v4.19-rc2, v4.19-rc1, v4.18, v4.18-rc8, v4.18-rc7, v4.18-rc6, v4.18-rc5, v4.18-rc4, v4.18-rc3, v4.18-rc2, v4.18-rc1, v4.17, v4.17-rc7, v4.17-rc6, v4.17-rc5, v4.17-rc4, v4.17-rc3, v4.17-rc2, v4.17-rc1, v4.16, v4.16-rc7, v4.16-rc6, v4.16-rc5, v4.16-rc4, v4.16-rc3, v4.16-rc2, v4.16-rc1, v4.15, v4.15-rc9, v4.15-rc8, v4.15-rc7, v4.15-rc6, v4.15-rc5, v4.15-rc4, v4.15-rc3, v4.15-rc2, v4.15-rc1, v4.14, v4.14-rc8, v4.14-rc7, v4.14-rc6, v4.14-rc5, v4.14-rc4, v4.14-rc3, v4.14-rc2, v4.14-rc1, v4.13, v4.13-rc7, v4.13-rc6, v4.13-rc5, v4.13-rc4, v4.13-rc3, v4.13-rc2, v4.13-rc1, v4.12, v4.12-rc7, v4.12-rc6, v4.12-rc5, v4.12-rc4, v4.12-rc3, v4.12-rc2, v4.12-rc1, v4.11, v4.11-rc8, v4.11-rc7, v4.11-rc6, v4.11-rc5, v4.11-rc4, v4.11-rc3, v4.11-rc2, v4.11-rc1, v4.10, v4.10-rc8, v4.10-rc7, v4.10-rc6, v4.10-rc5, v4.10-rc4, v4.10-rc3, v4.10-rc2, v4.10-rc1, v4.9, v4.9-rc8, v4.9-rc7, v4.9-rc6, v4.9-rc5, v4.9-rc4, v4.9-rc3, v4.9-rc2 |
|
| #
08a9a8d4 |
| 18-Oct-2016 |
Mauro Carvalho Chehab <[email protected]> |
doc: re-add CodingStyle and SubmittingPatches
Those files got moved to Documentation/process, but as they're very well known files, add pointers to their new locations.
PS.: I opted to not merge th
doc: re-add CodingStyle and SubmittingPatches
Those files got moved to Documentation/process, but as they're very well known files, add pointers to their new locations.
PS.: I opted to not merge this patch with the previous one in order to make the diff of the previous one more consistent, as it will show only renames.
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
show more ...
|
|
Revision tags: v4.9-rc1, v4.8, v4.8-rc8 |
|
| #
79c70c30 |
| 21-Sep-2016 |
Jonathan Corbet <[email protected]> |
docs: Remove space-before-label guidance from CodingStyle
Recent discussion has made it clear that there is no community consensus on this particular rule. Remove it now, lest it inspire yet anothe
docs: Remove space-before-label guidance from CodingStyle
Recent discussion has made it clear that there is no community consensus on this particular rule. Remove it now, lest it inspire yet another set of unwanted "cleanup" patches.
This partially reverts 865a1caa4b6b (CodingStyle: Clarify and complete chapter 7).
Cc: Jean Delvare <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
609d99a3 |
| 19-Sep-2016 |
Mauro Carvalho Chehab <[email protected]> |
Documentation/HOWTO: add cross-references to other documents
Add cross references for the documents mentioned at HOWTO and are under the Documentation/ directory, using the ReST notation.
It should
Documentation/HOWTO: add cross-references to other documents
Add cross references for the documents mentioned at HOWTO and are under the Documentation/ directory, using the ReST notation.
It should be noticed that HOWTO also mentions the /README file. We opted to not touch it, for now, as making it build on Sphinx would require it to be moved to a Documentation/foo directory.
Signed-off-by: Mauro Carvalho Chehab <[email protected]> Acked-by: Greg Kroah-Hartman <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
3772ec4a |
| 19-Sep-2016 |
Mauro Carvalho Chehab <[email protected]> |
Documentation/CodingStyle: use the .. note:: markup where needed
There are two places there where there are notes that should be highlighted. So, use the ReST note markup for such texts.
Signed-off
Documentation/CodingStyle: use the .. note:: markup where needed
There are two places there where there are notes that should be highlighted. So, use the ReST note markup for such texts.
Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
5d628b45 |
| 19-Sep-2016 |
Mauro Carvalho Chehab <[email protected]> |
Documentation/CodingStyle: replace underline markups
Sphinx doesn't accept underline markups by purpose. While there are ways to support underline via CSS, this won't be portable with non-html outpu
Documentation/CodingStyle: replace underline markups
Sphinx doesn't accept underline markups by purpose. While there are ways to support underline via CSS, this won't be portable with non-html outputs.
As we want CodingStyle to do emphasis, replace _foo_ by **foo**, using bold emphasis.
Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
b1a3459b |
| 19-Sep-2016 |
Mauro Carvalho Chehab <[email protected]> |
Documentation/CodingStyle: use the proper tag for verbatim font
On Sphinx/ReST notation, ``foo`` means that foo will be will be marked as inline literal, effectively making it to be presented as a m
Documentation/CodingStyle: use the proper tag for verbatim font
On Sphinx/ReST notation, ``foo`` means that foo will be will be marked as inline literal, effectively making it to be presented as a monospaced font.
As we want this document to be parsed by Sphinx, instead of using "foo", use ``foo`` for the names that are literal, because it is an usual typographic convention to use monospaced fonts for functions and language commands on documents, and we're following such convention on the other ReST books.
Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
d8dbbbc5 |
| 19-Sep-2016 |
Mauro Carvalho Chehab <[email protected]> |
Documentation/CodingStyle: Convert to ReST markup
- Fix all chapter identation; - add c blocks where needed;
Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan
Documentation/CodingStyle: Convert to ReST markup
- Fix all chapter identation; - add c blocks where needed;
Signed-off-by: Mauro Carvalho Chehab <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v4.8-rc7, v4.8-rc6, v4.8-rc5, v4.8-rc4, v4.8-rc3, v4.8-rc2, v4.8-rc1, v4.7 |
|
| #
a78a136f |
| 13-Jul-2016 |
Joe Perches <[email protected]> |
CodingStyle: Remove "Don't use C99-style comments"
Because Linus may still be reading source code on greenbar paper instead of color terminals with code syntax highlighting and appropriate font deco
CodingStyle: Remove "Don't use C99-style comments"
Because Linus may still be reading source code on greenbar paper instead of color terminals with code syntax highlighting and appropriate font decorations.
Link: http://lkml.kernel.org/r/CA+55aFyQYJerovMsSoSKS7PessZBr4vNp-3QUUwhqk4A4_jcbg@mail.gmail.com
Signed-off-by: Joe Perches <[email protected]>
show more ...
|
| #
865a1caa |
| 25-Jul-2016 |
Jean Delvare <[email protected]> |
CodingStyle: Clarify and complete chapter 7
Chapter 7 (Centralized exiting of functions) of the coding style documentation is unclear at times, and lacks some information (such as the possibility to
CodingStyle: Clarify and complete chapter 7
Chapter 7 (Centralized exiting of functions) of the coding style documentation is unclear at times, and lacks some information (such as the possibility to indent labels with a single space.) Clarify and complete it.
Signed-off-by: Jean Delvare <[email protected]> Cc: Markus Elfring <[email protected]> Cc: Jonathan Corbet <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
8ed292fe |
| 20-Jul-2016 |
Jonathan Corbet <[email protected]> |
docs: deprecate kernel-doc-nano-HOWTO.txt
Now that the new Sphinx world order is taking over, the information in kernel-doc-nano-HOWTO.txt is outmoded. I hate to remove it altogether, since it's on
docs: deprecate kernel-doc-nano-HOWTO.txt
Now that the new Sphinx world order is taking over, the information in kernel-doc-nano-HOWTO.txt is outmoded. I hate to remove it altogether, since it's one of those files that people expect to find. But we can add a warning and fix all the other pointers to it.
Reminded-by: Daniel Vetter <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v4.7-rc7, v4.7-rc6, v4.7-rc5, v4.7-rc4, v4.7-rc3, v4.7-rc2, v4.7-rc1, v4.6, v4.6-rc7, v4.6-rc6, v4.6-rc5, v4.6-rc4, v4.6-rc3, v4.6-rc2, v4.6-rc1, v4.5, v4.5-rc7, v4.5-rc6, v4.5-rc5, v4.5-rc4, v4.5-rc3, v4.5-rc2 |
|
| #
32fd52d5 |
| 25-Jan-2016 |
Thomas Gardner <[email protected]> |
Documentation/CodingStyle: add space before parenthesis in example macro
Signed-off-by: Thomas Gardner <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
|
|
Revision tags: v4.5-rc1, v4.4, v4.4-rc8 |
|
| #
9a2885e6 |
| 28-Dec-2015 |
Manuel Pégourié-Gonnard <[email protected]> |
Documentation: fix typo in CodingStyle
Simple typo: "it" for "is".
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]> Cc: Trivial Patch Monkey <[email protected]> Signed-off-by: Jonathan Corb
Documentation: fix typo in CodingStyle
Simple typo: "it" for "is".
Signed-off-by: Manuel Pégourié-Gonnard <[email protected]> Cc: Trivial Patch Monkey <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v4.4-rc7, v4.4-rc6, v4.4-rc5, v4.4-rc4, v4.4-rc3, v4.4-rc2, v4.4-rc1, v4.3, v4.3-rc7, v4.3-rc6, v4.3-rc5, v4.3-rc4, v4.3-rc3, v4.3-rc2, v4.3-rc1, v4.2, v4.2-rc8, v4.2-rc7, v4.2-rc6, v4.2-rc5, v4.2-rc4, v4.2-rc3, v4.2-rc2, v4.2-rc1 |
|
| #
4b10df7f |
| 03-Jul-2015 |
Olivier C. Larocque <[email protected]> |
Documentation: CodingStyle: remove broken links in the References section
Remove 2 broken links for programming reference books in Appendix I. After a lookup on an Internet archives web site, it see
Documentation: CodingStyle: remove broken links in the References section
Remove 2 broken links for programming reference books in Appendix I. After a lookup on an Internet archives web site, it seems that these links have been broken for around 3 months. We can then assume that they will not be back up and safely remove them from the documentation.
Signed-off-by: Olivier C. Larocque <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v4.1, v4.1-rc8, v4.1-rc7, v4.1-rc6, v4.1-rc5, v4.1-rc4, v4.1-rc3, v4.1-rc2, v4.1-rc1 |
|
| #
df1027ab |
| 19-Apr-2015 |
Baruch Siach <[email protected]> |
Documentation/CodingStyle: fix example macro parenthesis imbalance
Cc: Bartosz Golaszewski <[email protected]> Cc: Andrew Morton <[email protected]> Fixes: f2027543b9 ('documentation
Documentation/CodingStyle: fix example macro parenthesis imbalance
Cc: Bartosz Golaszewski <[email protected]> Cc: Andrew Morton <[email protected]> Fixes: f2027543b9 ('documentation: update CodingStyle on local variables naming in macros') Signed-off-by: Baruch Siach <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
f2027543 |
| 16-Apr-2015 |
Bartosz Golaszewski <[email protected]> |
documentation: update CodingStyle on local variables naming in macros
Describe proper naming convention for local variables in macros resembling functions.
Signed-off-by: Bartosz Golaszewski <bgola
documentation: update CodingStyle on local variables naming in macros
Describe proper naming convention for local variables in macros resembling functions.
Signed-off-by: Bartosz Golaszewski <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Steven Rostedt <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
show more ...
|
|
Revision tags: v4.0, v4.0-rc7, v4.0-rc6, v4.0-rc5, v4.0-rc4, v4.0-rc3, v4.0-rc2, v4.0-rc1 |
|
| #
09677e0f |
| 16-Feb-2015 |
Pavel Kretov <[email protected]> |
Documentation/CodingStyle: improve text layout
Try to make coding style documentation look a bit more readable and consistent with the following:
- indent every code example in C to first tab-stop
Documentation/CodingStyle: improve text layout
Try to make coding style documentation look a bit more readable and consistent with the following:
- indent every code example in C to first tab-stop; - surround every code example with empty lines, both top and bottom; - remove empty lines where text looked way too spare; - do not indent examples in elisp and kconfig; - do not do any non-whitespace changes.
Signed-off-by: Pavel Kretov <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
| #
696156f0 |
| 16-Feb-2015 |
Pavel Kretov <[email protected]> |
Documentation/CodingStyle: fix tab-spaces mixture
Coding style description has a irregular mixture of tabs and spaces in two places which is bad by any means and can possibly hurt somebody's sense o
Documentation/CodingStyle: fix tab-spaces mixture
Coding style description has a irregular mixture of tabs and spaces in two places which is bad by any means and can possibly hurt somebody's sense of beauty.
Signed-off-by: Pavel Kretov <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v3.19, v3.19-rc7, v3.19-rc6 |
|
| #
039d19a1 |
| 26-Jan-2015 |
Alison Chaiken <[email protected]> |
CodingStyle: enable emacs display of trailing whitespace
Suggest to developers who use emacs that they turn on the instantaneous trailing-whitespace warning feature.
Signed-off-by: Alison Chaiken <
CodingStyle: enable emacs display of trailing whitespace
Suggest to developers who use emacs that they turn on the instantaneous trailing-whitespace warning feature.
Signed-off-by: Alison Chaiken <[email protected]> [jc: untabified to match its surroundings] Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v3.19-rc5, v3.19-rc4, v3.19-rc3, v3.19-rc2, v3.19-rc1, v3.18 |
|
| #
ea040360 |
| 02-Dec-2014 |
Dan Carpenter <[email protected]> |
CodingStyle: add some more error handling guidelines
I added a paragraph on choosing label names, and updated the example code to use a better label name. I also cleaned up the example code to more
CodingStyle: add some more error handling guidelines
I added a paragraph on choosing label names, and updated the example code to use a better label name. I also cleaned up the example code to more modern style by moving the allocation out of the initializer and changing the NULL check.
Perhaps the most common type of error handling bug in the kernel is "one err bugs". CodingStyle already says that we should "avoid nesting" by using error labels and one err style error handling tends to have multiple indent levels, so this was already bad style. But I've added a new paragraph explaining how to avoid one err bugs by using multiple error labels which is, hopefully, more clear.
Signed-off-by: Dan Carpenter <[email protected]> Acked-by: Julia Lawall <[email protected]> [jc: added GFP_KERNEL to kmalloc() call] Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v3.18-rc7, v3.18-rc6, v3.18-rc5, v3.18-rc4, v3.18-rc3 |
|
| #
21228a18 |
| 29-Oct-2014 |
Josh Triplett <[email protected]> |
CodingStyle: Add a chapter on conditional compilation
Document several common practices and conventions regarding conditional compilation, most notably the preference for ifdefs in headers rather th
CodingStyle: Add a chapter on conditional compilation
Document several common practices and conventions regarding conditional compilation, most notably the preference for ifdefs in headers rather than .c files.
Signed-off-by: Josh Triplett <[email protected]> Acked-by: Geert Uytterhoeven <[email protected]> Signed-off-by: Jonathan Corbet <[email protected]>
show more ...
|
|
Revision tags: v3.18-rc2, v3.18-rc1, v3.17, v3.17-rc7, v3.17-rc6, v3.17-rc5, v3.17-rc4, v3.17-rc3, v3.17-rc2, v3.17-rc1, v3.16, v3.16-rc7 |
|
| #
7c18fd78 |
| 24-Jul-2014 |
Raymond L. Rivera <[email protected]> |
CodingStyle: fix a minor typo
There was a minor typo in the CodingStyle document where the word 'section' had been spelled as 'secton'.
Signed-off-by: Raymond L. Rivera <[email protected]> Sig
CodingStyle: fix a minor typo
There was a minor typo in the CodingStyle document where the word 'section' had been spelled as 'secton'.
Signed-off-by: Raymond L. Rivera <[email protected]> Signed-off-by: Jiri Kosina <[email protected]>
show more ...
|
|
Revision tags: v3.16-rc6, v3.16-rc5, v3.16-rc4, v3.16-rc3, v3.16-rc2, v3.16-rc1, v3.15 |
|
| #
6e099f55 |
| 04-Jun-2014 |
Dan Streetman <[email protected]> |
Documentation: expand/clarify debug documentation
The pr_debug() and related debug print macros all differ from the normal pr_XXX() macros, in that the normal ones print unconditionally, while the d
Documentation: expand/clarify debug documentation
The pr_debug() and related debug print macros all differ from the normal pr_XXX() macros, in that the normal ones print unconditionally, while the debug macros are compiled out unless DEBUG is defined or CONFIG_DYNAMIC_DEBUG is set. This isn't obvious, and the only way to find this out is either to review the actual printk.h code or to read CodingStyle, and the message there doesn't highlight the fact.
Change Documentation/CodingStyle to clearly indicate that pr_debug() and related debug printing macros behave differently than all other pr_XXX() macros, and attempt to clarify when and where the different debug printing methods might be used.
Add short comment to printk.h above the pr_XXX() macros indicating that while these macros print unconditionally, pr_debug() does not.
Signed-off-by: Dan Streetman <[email protected]> Cc: Joe Perches <[email protected]> Cc: Fabian Frederick <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
show more ...
|
|
Revision tags: v3.15-rc8, v3.15-rc7, v3.15-rc6, v3.15-rc5, v3.15-rc4, v3.15-rc3, v3.15-rc2, v3.15-rc1, v3.14, v3.14-rc8, v3.14-rc7, v3.14-rc6, v3.14-rc5, v3.14-rc4, v3.14-rc3, v3.14-rc2, v3.14-rc1, v3.13, v3.13-rc8, v3.13-rc7, v3.13-rc6, v3.13-rc5, v3.13-rc4, v3.13-rc3, v3.13-rc2, v3.13-rc1, v3.12, v3.12-rc7, v3.12-rc6, v3.12-rc5, v3.12-rc4, v3.12-rc3, v3.12-rc2, v3.12-rc1, v3.11, v3.11-rc7, v3.11-rc6, v3.11-rc5, v3.11-rc4, v3.11-rc3, v3.11-rc2, v3.11-rc1 |
|
| #
b57a0505 |
| 03-Jul-2013 |
Dan Carpenter <[email protected]> |
Documentation/CodingStyle: allow multiple return statements per function
A surprising number of newbies interpret this section to mean that only one return statement is allowed per function. Part o
Documentation/CodingStyle: allow multiple return statements per function
A surprising number of newbies interpret this section to mean that only one return statement is allowed per function. Part of the problem is that the "one return statement per function" rule is an actual style guideline that people are used to from other projects.
Signed-off-by: Dan Carpenter <[email protected]> Cc: Eduardo Valentin <[email protected]> Cc: Rob Landley <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
show more ...
|
|
Revision tags: v3.10, v3.10-rc7, v3.10-rc6, v3.10-rc5, v3.10-rc4, v3.10-rc3, v3.10-rc2, v3.10-rc1, v3.9, v3.9-rc8, v3.9-rc7, v3.9-rc6, v3.9-rc5, v3.9-rc4, v3.9-rc3, v3.9-rc2, v3.9-rc1, v3.8, v3.8-rc7, v3.8-rc6, v3.8-rc5, v3.8-rc4, v3.8-rc3, v3.8-rc2, v3.8-rc1, v3.7, v3.7-rc8, v3.7-rc7, v3.7-rc6, v3.7-rc5, v3.7-rc4, v3.7-rc3, v3.7-rc2, v3.7-rc1 |
|
| #
0335cb46 |
| 02-Oct-2012 |
Kees Cook <[email protected]> |
Documentation: remove depends on CONFIG_EXPERIMENTAL
The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Li
Documentation: remove depends on CONFIG_EXPERIMENTAL
The CONFIG_EXPERIMENTAL config item has not carried much meaning for a while now and is almost always enabled by default. As agreed during the Linux kernel summit, remove it from any "depends on" lines in Kconfigs.
CC: Rob Landley <[email protected]> CC: Jiri Kosina <[email protected]> CC: Masanari Iida <[email protected]> CC: Jason Wessel <[email protected]> CC: Richard L Maliszewski <[email protected]> CC: Gang Wei <[email protected]> CC: Shane Wang <[email protected]> CC: Harry Wei <[email protected]> Signed-off-by: Kees Cook <[email protected]> Acked-by: Jason Wessel <[email protected]>
show more ...
|
| #
c4ff1b5f |
| 05-Oct-2012 |
Joe Perches <[email protected]> |
CodingStyle: add networking specific block comment style
The block comment style in net/ and drivers/net is non-standard. Document it.
Signed-off-by: Joe Perches <[email protected]> Cc: "Allan, Bruce
CodingStyle: add networking specific block comment style
The block comment style in net/ and drivers/net is non-standard. Document it.
Signed-off-by: Joe Perches <[email protected]> Cc: "Allan, Bruce W" <[email protected]> Cc: Andy Whitcroft <[email protected]> Cc: David Miller <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
show more ...
|