[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH 6/6] iommu: Fixes duplicate const warning.
arch/x86/kernel/pci-dma.c:275:1: warning: duplicate const arch/x86/kernel/pci-swiotlb.c:68:1: warning: duplicate const arch/x86/kernel/pci-swiotlb.c:86:1: warning: duplicate const arch/x86/kernel/amd_gart_64.c:899:1: warning: duplicate const arch/x86/kernel/pci-calgary_64.c:1600:1: warning: duplicate const arch/x86/xen/pci-swiotlb-xen.c:96:1: warning: duplicate const drivers/iommu/amd_iommu_init.c:1831:1: warning: duplicate const drivers/iommu/dmar.c:1350:1: warning: duplicate const when using smatch. CC: x86@xxxxxxxxxx Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@xxxxxxxxxx> --- arch/x86/include/asm/iommu_table.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/include/asm/iommu_table.h b/arch/x86/include/asm/iommu_table.h index f229b13..bbf8fb2 100644 --- a/arch/x86/include/asm/iommu_table.h +++ b/arch/x86/include/asm/iommu_table.h @@ -48,7 +48,7 @@ struct iommu_table_entry { #define __IOMMU_INIT(_detect, _depend, _early_init, _late_init, _finish)\ - static const struct iommu_table_entry const \ + static const struct iommu_table_entry \ __iommu_entry_##_detect __used \ __attribute__ ((unused, __section__(".iommu_table"), \ aligned((sizeof(void *))))) \ -- 1.7.7.6 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |