diff options
| author | Derek J. Clark <derekjohn.clark@gmail.com> | 2026-05-10 04:25:34 +0000 |
|---|---|---|
| committer | Ilpo Järvinen <ilpo.jarvinen@linux.intel.com> | 2026-05-11 14:29:03 +0300 |
| commit | 816fbd5dacee977ca56bab79bf97f71f2f7ac24e (patch) | |
| tree | 66b32415951a27d1ffa628f1f76d79c73b261aa4 /tools/perf/scripts/python/libxed.py | |
| parent | 2fe2504abcfa4f82a4208e8d0c21ec0f22baca43 (diff) | |
| download | linux-816fbd5dacee977ca56bab79bf97f71f2f7ac24e.tar.gz linux-816fbd5dacee977ca56bab79bf97f71f2f7ac24e.zip | |
platform/x86: lenovo-wmi-other: Zero initialize WMI arguments
Adds explicit initialization of wmi_method_args_32 declarations with
zero values to prevent uninitialized data from being sent to the device
BIOS when passed.
No functional change intended.
Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
Fixes: 22024ac5366f ("platform/x86: Add Lenovo Gamezone WMI Driver")
Fixes: edc4b183b794 ("platform/x86: Add Lenovo Other Mode WMI Driver")
Reported-by: Rong Zhang <i@rong.moe>
Closes: https://lore.kernel.org/platform-driver-x86/95c7e7b539dd0af41189c754fcd35cec5b6fe182.camel@rong.moe/
Cc: stable@vger.kernel.org
Reviewed-by: Rong Zhang <i@rong.moe>
Tested-by: Rong Zhang <i@rong.moe>
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Link: https://patch.msgid.link/20260510042546.436874-5-derekjohn.clark@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/libxed.py')
0 files changed, 0 insertions, 0 deletions
