diff options
| author | Yousef Alhouseen <alhouseenyousef@gmail.com> | 2026-07-01 18:42:04 +0200 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-07-21 19:53:46 +0300 |
| commit | caf8342512c3056005f475d350eeca089c3c6623 (patch) | |
| tree | 1d488e694a92a3d950b95ff30078db49fae255ac /tools/perf/scripts/python/stackcollapse.py | |
| parent | 408b87a481e3ab33cba00292e4c80a30ba97f995 (diff) | |
platform/x86: acer-wmi: reject missing gaming WMI results
WMI_gaming_execute_u32_u64() returns success when firmware supplies
no output object, leaving the caller output untouched. Gaming getters
then inspect an uninitialized result value.
When the caller requests an output value, return -ENOMSG if firmware
supplies no object. Preserve a NULL output pointer as the supported way
for callers to ignore the result.
Fixes: 2d76708c2221 ("platform/x86: acer-wmi: use WMI calls for platform profile handling")
Signed-off-by: Yousef Alhouseen <alhouseenyousef@gmail.com>
Link: https://patch.msgid.link/20260701164208.8998-1-alhouseenyousef@gmail.com
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/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
