]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
mshv: fix hv_input_get_system_property struct
authorWei Liu <wei.liu@kernel.org>
Tue, 30 Jun 2026 21:57:54 +0000 (14:57 -0700)
committerWei Liu <wei.liu@kernel.org>
Wed, 22 Jul 2026 21:58:21 +0000 (21:58 +0000)
Keep it in sync with the correct definition.

The old code worked by chance.

Fixes: e68bda71a2384 ("hyperv: Add new Hyper-V headers in include/hyperv")
Cc: stable@kernel.org
Signed-off-by: Wei Liu <wei.liu@kernel.org>
include/hyperv/hvhdk_mini.h

index b4cb2fa26e9bc2c0a2da4c6e15db61726cca68a8..035ba20870f7382b12a19007d0721a212b1cf4ad 100644 (file)
@@ -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;