aboutsummaryrefslogtreecommitdiff
path: root/include/linux/debugobjects.h
diff options
context:
space:
mode:
authorArmin Wolf <[email protected]>2024-02-19 12:59:16 +0100
committerIlpo Järvinen <[email protected]>2024-02-27 14:44:20 +0200
commit125619112deaf5f7d79b05e268254df3af916d10 (patch)
tree6bc53759fef51cd9a9801ef93ef7b5e4b9e611f2 /include/linux/debugobjects.h
parent4f299135d5668f56be270d224d41eb83d2002038 (diff)
platform/x86: wmi: Check if event data is not NULL
WMI event drivers which do not have no_notify_data set expect that each WMI event contains valid data. Evaluating _WED however might return no data, which can cause issues with such drivers. Fix this by validating that evaluating _WED did return data. Signed-off-by: Armin Wolf <[email protected]> Link: https://lore.kernel.org/r/[email protected] Reviewed-by: Ilpo Järvinen <[email protected]> Signed-off-by: Ilpo Järvinen <[email protected]>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions