Files
Linux/drivers/hid
Jiasheng Jiang 13251ce1dd HID: potential dereference of null pointer
The return value of devm_kzalloc() needs to be checked.
To avoid hdev->dev->driver_data to be null in case of the failure of
alloc.

Fixes: 14c9c014ba ("HID: add vivaldi HID driver")
Cc: [email protected]
Signed-off-by: Jiasheng Jiang <[email protected]>
Signed-off-by: Benjamin Tissoires <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
2021-12-20 11:26:14 +01:00
..
2020-11-25 17:40:23 +01:00
2021-05-05 14:39:24 +02:00
…
2021-12-02 15:36:18 +01:00