summaryrefslogtreecommitdiff
path: root/kernel
diff options
context:
space:
mode:
authorHe Lugang <helugang@uniontech.com>2024-09-25 14:28:24 +0800
committerJiri Kosina <jkosina@suse.com>2024-10-18 12:50:08 +0200
commit2e592244c4874c5e7808ac27f62443e8ff87d901 (patch)
treecae9317c0959ba36501205acaa75b5552206655c /kernel
parent6485cf5ea253d40d507cd71253c9568c5470cd27 (diff)
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: He Lugang <helugang@uniontech.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions