Re: [RESEND PATCH] HID:replace BUG_ON() with WARN_ON()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 25 Sep 2024, He Lugang wrote:

> There is no need to kill the system entirely in HID with BUG_ON,
> use WARN_ON to handle fault more gracefully which allow the system
> to keep running.
> 
> Signed-off-by: He Lugang <helugang@xxxxxxxxxxxxx>

Good catch, in all three cases the BUG_ON() is a crazy overkill.

Applied to hid.git#for-6.13/bug-on-to-warn-on, thanks.

-- 
Jiri Kosina
SUSE Labs





[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux