]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/x86: lenovo-wmi-other: Fix tunable_attr_01 struct members
authorDerek J. Clark <derekjohn.clark@gmail.com>
Sun, 10 May 2026 04:25:35 +0000 (04:25 +0000)
committerIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Mon, 11 May 2026 11:29:05 +0000 (14:29 +0300)
commit71f3843e0f81e3c097a088c1121154bb9a44da0a
tree16d94a78678d40abd003f965e24f45e6b15559ad
parent816fbd5dacee977ca56bab79bf97f71f2f7ac24e
platform/x86: lenovo-wmi-other: Fix tunable_attr_01 struct members

In struct tunable_attr_01 the capdata pointer is unused and the size of
the id members is u32 when it should be u8. Fix these prior to adding
additional members.

No functional change intended.

Reviewed-by: Mark Pearson <mpearson-lenovo@squebb.ca>
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-6-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>
drivers/platform/x86/lenovo/wmi-other.c