Re: [PATCH] Documentation: coding-style: don't encourage WARN*()

2024-04-14 Thread Greg KH
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 can lead to a panic. His reasoning was that the majority of > Linux instances (i

Re: [PATCH] Documentation: coding-style: don't encourage WARN*()

2024-04-14 Thread Greg KH
On Sun, Apr 14, 2024 at 10:48:35PM +0300, 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_war

Re: [PATCH] Documentation: coding-style: don't encourage WARN*()

2024-04-14 Thread Alex Elder
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 can

Re: [PATCH] Documentation: coding-style: don't encourage WARN*()

2024-04-14 Thread Laurent Pinchart
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 can lead to a panic. His reasoning was that

[PATCH] Documentation: coding-style: don't encourage WARN*()

2024-04-14 Thread Alex Elder
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 can lead to a panic. His reasoning was that the majority of Linux instances (including Android and cloud systems) run with this option enabled. An