From: Tim Deegan Date: Thu, 12 Sep 2013 11:05:18 +0000 (+0100) Subject: passthrough/amd: Shuffle declaration. X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~6330 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=730127d4a1f5fa60082c86e03e3b872b8e934819;p=xen.git passthrough/amd: Shuffle declaration. Coverity's parser chokes on seeing __section() before the type. Coverity CID 1087190 Signed-off-by: Tim Deegan Reviewed-by: Andrew Cooper Acked-by: Jan Beulich Acked-by: Suravee Suthikulpanit --- diff --git a/xen/drivers/passthrough/amd/iommu_acpi.c b/xen/drivers/passthrough/amd/iommu_acpi.c index bd66c65888..c3b9631c14 100644 --- a/xen/drivers/passthrough/amd/iommu_acpi.c +++ b/xen/drivers/passthrough/amd/iommu_acpi.c @@ -633,7 +633,7 @@ static u16 __init parse_ivhd_device_extended_range( return dev_length; } -static __initdata DECLARE_BITMAP(ioapic_cmdline, ARRAY_SIZE(ioapic_sbdf)); +static DECLARE_BITMAP(ioapic_cmdline, ARRAY_SIZE(ioapic_sbdf)) __initdata; static void __init parse_ivrs_ioapic(char *str) {