Re: (subset) [PATCH v1 0/3] coding-style.rst: document BUG() and WARN() rules

2022-10-04 Thread Michael Ellerman
On Tue, 20 Sep 2022 14:22:59 +0200, David Hildenbrand wrote: > 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. > > RFC -> v1: > * "coding-style.rst:

[PATCH v1 0/3] coding-style.rst: document BUG() and WARN() rules

2022-09-20 Thread David Hildenbrand
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. RFC -> v1: * "coding-style.rst: document BUG() and WARN() rules ("do not crash the kernel")" -> Rephrase