]> xenbits.xensource.com Git - xen.git/commitdiff
passthrough/amd: Shuffle declaration.
authorTim Deegan <tim@xen.org>
Thu, 12 Sep 2013 11:05:18 +0000 (12:05 +0100)
committerTim Deegan <tim@xen.org>
Tue, 17 Sep 2013 15:36:40 +0000 (16:36 +0100)
Coverity's parser chokes on seeing __section() before the type.

Coverity CID 1087190

Signed-off-by: Tim Deegan <tim@xen.org>
Reviewed-by: Andrew Cooper <andrew.cooper3@citrix.com>
Acked-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Suravee Suthikulpanit <suravee.suthikulpanit@amd.com>
xen/drivers/passthrough/amd/iommu_acpi.c

index bd66c65888b75af4d2ee637a4c9cfa1ea65e59ca..c3b9631c1479a7092c45d8fbda1a1eb93a69e3b3 100644 (file)
@@ -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)
 {