mirror of https://gitee.com/openkylin/linux.git
96fe2ab830
DECLARE_WAITQUEUE doesn't initialize the wait descriptor's task_list
to 'empty' but to zero.
prepare_to_wait() will not enqueue the descriptor to the waitqueue and
finish_wait() will do list_del_init() on a list head that contains
NULL pointers, which oopses.
This was introduced by
|
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
hid-core.c | ||
hid-pidff.c | ||
hid-quirks.c | ||
hiddev.c | ||
usbhid.h | ||
usbkbd.c | ||
usbmouse.c |