mbox series

[0/2] HID: uclogic: Fix two bugs in uclogic

Message ID 20230921133824.605700-1-ruanjinjie@huawei.com
Headers show
Series HID: uclogic: Fix two bugs in uclogic | expand

Message

Jinjie Ruan Sept. 21, 2023, 1:38 p.m. UTC
When CONFIG_HID_UCLOGIC=y and CONFIG_KUNIT_ALL_TESTS=y, launch
kernel and then there are a user-memory-access bug and a work->entry
not empty bug. This patchset fix these issues.

Jinjie Ruan (2):
  HID: uclogic: Fix user-memory-access bug in
    uclogic_params_ugee_v2_init_event_hooks()
  HID: uclogic: Fix a work->entry not empty bug in __queue_work()

 drivers/hid/hid-uclogic-core-test.c   |  7 +++++++
 drivers/hid/hid-uclogic-params-test.c | 15 ++++++++++++++-
 2 files changed, 21 insertions(+), 1 deletion(-)