diff options
| author | 2024-02-19 12:59:16 +0100 | |
|---|---|---|
| committer | 2024-02-27 14:44:20 +0200 | |
| commit | 125619112deaf5f7d79b05e268254df3af916d10 (patch) | |
| tree | 6bc53759fef51cd9a9801ef93ef7b5e4b9e611f2 /include/linux/bcma/ssh:/git@git.zx2c4.com | |
| parent | platform/x86: wmi: Prevent incompatible event driver from probing (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 <W_Armin@gmx.de>
Link: https://lore.kernel.org/r/20240219115919.16526-3-W_Armin@gmx.de
Reviewed-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Diffstat (limited to 'include/linux/bcma/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
