diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-02-19 12:59:16 +0100 |
---|---|---|
committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2024-02-27 14:44:20 +0200 |
commit | 125619112deaf5f7d79b05e268254df3af916d10 (patch) | |
tree | 6bc53759fef51cd9a9801ef93ef7b5e4b9e611f2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 4f299135d5668f56be270d224d41eb83d2002038 (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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions