coding-style.rst: document BUG() and WARN() rules
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 1 replyIn review
- v13 patches 16 repliesSuperseded
Changes in v2 from the cover letter
* "coding-style.rst: document BUG() and WARN() rules ("do not crash the kernel")"
-> Minor rephrasing / reference fix [John]
-> Compile fix [Akira]
* "powerpc/prom_init: drop PROM_BUG()"
-> Dropped because it will go upstream via a different tree
* "checkpatch: warn on usage of VM_BUG_ON() and other BUG variants" -> Rephrase warning message and remove trailing period [John+Joe]
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | coding-style.rst: document BUG() and WARN() rules ("do not crash the kernel")Documentation/ | +62 | 0 replies | |
| 2/2 | checkpatch: warn on usage of VM_BUG_ON() and other BUG variantsscripts/ | +3 | 0 replies |
Reviews trailers per patch
1 of 2 patches has a Reviewed-by or Acked-by.
| Patch | John Hubbard |
|---|---|
| 1/2 | R-b |
| 2/2 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] coding-style.rst: document BUG() and WARN() rules
As it seems to be rather unclear if/when to use BUG(), BUG_ON(), VM_BUG_ON(), WARN_ON_ONCE(), ... let's try to document the result of a recent discussion.
Details can be found in patch #1.
v1 -> v2:
* "coding-style.rst: document BUG() and WARN() rules ("do not crash the kernel")"
-> Minor rephrasing / reference fix [John]
-> Compile fix [Akira]
* "powerpc/prom_init: drop PROM_BUG()"
-> Dropped because it will go upstream via a different tree
* "checkpatch: warn on usage of VM_BUG_ON() and other BUG variants" -> Rephrase warning message and remove trailing period [John+Joe]
RFC -> v1:
* "coding-style.rst: document BUG() and WARN() rules ("do not crash the kernel")"
-> Rephrase/extend according to John
-> Add some details regarding the use of panic()
* powerpc/prom_init: drop PROM_BUG()
-> Added
* "checkpatch: warn on usage of VM_BUG_ON() and other BUG variants" -> Warn on more variants
David Hildenbrand (2):
coding-style.rst: document BUG() and WARN() rules ("do not crash the
kernel")
checkpatch: warn on usage of VM_BUG_ON() and other BUG variants
Documentation/process/coding-style.rst | 62 ++++++++++++++++++++++++++ scripts/checkpatch.pl | 6 +-- 2 files changed, 65 insertions(+), 3 deletions(-)
Signature · 1 line
2.37.3