mirror of
https://github.com/torvalds/linux.git
synced 2024-11-15 08:31:55 +00:00
9960c70949
A null pointer deference on pdata can occur if the allocation of
pdata fails. Fix this by adding a null pointer check and handle
the -ENOMEM failure in the caller.
Addresses-Coverity: ("Dereference null return value")
Fixes:
|
||
---|---|---|
.. | ||
cros_ec_sensors | ||
hid-sensors | ||
ms_sensors | ||
ssp_sensors | ||
st_sensors | ||
Kconfig | ||
Makefile |