mirror of
https://git.proxmox.com/git/mirror_ubuntu-kernels.git
synced 2025-11-24 09:29:17 +00:00
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:
|
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| st_sensors_buffer.c | ||
| st_sensors_core.c | ||
| st_sensors_core.h | ||
| st_sensors_i2c.c | ||
| st_sensors_spi.c | ||
| st_sensors_trigger.c | ||