linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* query on fixing checkpatch BUG() variants warning
@ 2022-10-16 18:32 Deepak R Varma
  2022-10-16 19:40 ` Greg KH
  0 siblings, 1 reply; 2+ messages in thread
From: Deepak R Varma @ 2022-10-16 18:32 UTC (permalink / raw)
  To: linux-kernel, linux-staging, gregkh; +Cc: kumarpraveen, saurabh.truth

Hello,
I am participating in Outreachy program for Dec 2022. Could you please suggest
if I should explore resolving following checkpatch warning reported by
driver/stagning/most/*/*.c files?

Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants


Thank you,
./drv



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: query on fixing checkpatch BUG() variants warning
  2022-10-16 18:32 query on fixing checkpatch BUG() variants warning Deepak R Varma
@ 2022-10-16 19:40 ` Greg KH
  0 siblings, 0 replies; 2+ messages in thread
From: Greg KH @ 2022-10-16 19:40 UTC (permalink / raw)
  To: Deepak R Varma; +Cc: linux-kernel, linux-staging, kumarpraveen, saurabh.truth

On Sun, Oct 16, 2022 at 02:32:08PM -0400, Deepak R Varma wrote:
> Hello,
> I am participating in Outreachy program for Dec 2022. Could you please suggest
> if I should explore resolving following checkpatch warning reported by
> driver/stagning/most/*/*.c files?
> 
> Do not crash the kernel unless it is absolutely unavoidable--use WARN_ON_ONCE() plus recovery code (if feasible) instead of BUG() or variants
> 

Feel free to work on whatever you want, it's not up to us to tell you
what to do :)

Good luck!

greg k-h

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-10-16 19:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-10-16 18:32 query on fixing checkpatch BUG() variants warning Deepak R Varma
2022-10-16 19:40 ` Greg KH

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).