mirror of
https://github.com/linux-msm/laptops-kernel.git
synced 2026-08-13 14:19:53 -07:00
mshv: fix hv_input_get_system_property struct
Keep it in sync with the correct definition.
The old code worked by chance.
Fixes: e68bda71a2 ("hyperv: Add new Hyper-V headers in include/hyperv")
Cc: stable@kernel.org
Signed-off-by: Wei Liu <wei.liu@kernel.org>
This commit is contained in:
@@ -184,8 +184,9 @@ enum hv_dynamic_processor_feature_property {
|
||||
|
||||
struct hv_input_get_system_property {
|
||||
u32 property_id; /* enum hv_system_property */
|
||||
u32 reserved;
|
||||
union {
|
||||
u32 as_uint32;
|
||||
u64 as_uint64;
|
||||
#if IS_ENABLED(CONFIG_X86)
|
||||
/* enum hv_dynamic_processor_feature_property */
|
||||
u32 hv_processor_feature;
|
||||
|
||||
Reference in New Issue
Block a user