]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
hyperv: Add missing field to hv_output_map_device_interrupt
authorNuno Das Neves <nunodasneves@linux.microsoft.com>
Wed, 13 Aug 2025 18:20:57 +0000 (11:20 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Nov 2025 20:37:36 +0000 (15:37 -0500)
[ Upstream commit 4cd661c248b6671914ad59e16760bb6d908dfc61 ]

This field is unused, but the correct structure size is needed
when computing the amount of space for the output argument to
reside, so that it does not cross a page boundary.

Signed-off-by: Nuno Das Neves <nunodasneves@linux.microsoft.com>
Reviewed-by: Michael Kelley <mhklinux@outlook.com>
Signed-off-by: Wei Liu <wei.liu@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
include/hyperv/hvhdk_mini.h

index 42e7876455b5b125b5f60fdabd5eacd0c58809b4..858f6a3925b30fea908fc18482fd436b9ce6f913 100644 (file)
@@ -301,6 +301,7 @@ struct hv_input_map_device_interrupt {
 /* HV_OUTPUT_MAP_DEVICE_INTERRUPT */
 struct hv_output_map_device_interrupt {
        struct hv_interrupt_entry interrupt_entry;
+       u64 ext_status_deprecated[5];
 } __packed;
 
 /* HV_INPUT_UNMAP_DEVICE_INTERRUPT */