mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-17 06:17:44 +07: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 |