Re: query on fixing checkpatch BUG() variants warning

From: Greg KH
Date: Sun Oct 16 2022 - 15:47:38 EST


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