Commit 2e592244 authored by He Lugang's avatar He Lugang Committed by Jiri Kosina
Browse files

HID: replace BUG_ON() with WARN_ON()



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: default avatarHe Lugang <helugang@uniontech.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.com>
parent 6485cf5e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment