Re: [RESEND PATCH] HID:replace BUG_ON() with WARN_ON()
From: Jiri Kosina <jikos@kernel.org>
Date: 2024-10-18 10:50:55
From: Jiri Kosina <jikos@kernel.org>
Date: 2024-10-18 10:50:55
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 <redacted>
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