Tag: 8052ee5f5fd9be153129eaa06ced4a786415abc1

HID: drivers/hid/hid-roccat.c: eliminate a null pointer dereference

Author: Julia Lawall <julia@diku.dk> It is not possible to take the lock in device if device is NULL. The mutex_lock is thus moved after the NULL test. New error handling labels are added at the end to differentiate between the cases where different sets of locks should be unlocks, and between whether or not reader …

Continue reading