On 4/14/24 2:48 PM, Laurent Pinchart wrote:
Hi Alex,
Thank you for the patch.
On Sun, Apr 14, 2024 at 12:08:50PM -0500, Alex Elder wrote:
Several times recently Greg KH has admonished that variants of WARN()
should not be used, because when the panic_on_warn kernel option is set,
their use
. And therefore a condition leading to a warning will frequently
cause an undesirable panic.
The "coding-style.rst" document says not to worry about this kernel
option. Update it to provide a more nuanced explanation.
Signed-off-by: Alex Elder
---
Documentation/process/coding-styl