aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform/surface/aggregator/controller.c
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-09-01 03:10:51 +0000
committerGuenter Roeck <[email protected]>2024-09-02 14:23:35 +0000
commita54da9df75cd1b4b5028f6c60f9a211532680585 (patch)
treec2e7e25f5d6e923083f94947d82f0fb4d0f1148e /drivers/platform/surface/aggregator/controller.c
parenthwmon: ltc2991: fix register bits defines (diff)
downloadkernel-a54da9df75cd1b4b5028f6c60f9a211532680585.tar.gz
kernel-a54da9df75cd1b4b5028f6c60f9a211532680585.zip
hwmon: (hp-wmi-sensors) Check if WMI event data exists
The BIOS can choose to return no event data in response to a WMI event, so the ACPI object passed to the WMI notify handler can be NULL. Check for such a situation and ignore the event in such a case. Fixes: 23902f98f8d4 ("hwmon: add HP WMI Sensors driver") Signed-off-by: Armin Wolf <[email protected]> Reviewed-by: Ilpo Järvinen <[email protected]> Message-ID: <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/platform/surface/aggregator/controller.c')
0 files changed, 0 insertions, 0 deletions