summaryrefslogtreecommitdiff
path: root/drivers/iommu/of_iommu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2017-09-12 23:10:21 +0300
committerJoerg Roedel <jroedel@suse.de>2017-09-19 12:44:46 +0300
commit3bd71e18c5803c23014df962bdd74af1b34697fe (patch)
treeb2c71a583e3900ae070d145325b9b84e866d3ac9 /drivers/iommu/of_iommu.c
parenta4aaeccc7a91e24cc17f72a7eb2f586f5c3d811d (diff)
downloadlinux-3bd71e18c5803c23014df962bdd74af1b34697fe.tar.xz
iommu/vt-d: Fix harmless section mismatch warning
Building with gcc-4.6 results in this warning due to dmar_table_print_dmar_entry being inlined as in newer compiler versions: WARNING: vmlinux.o(.text+0x5c8bee): Section mismatch in reference from the function dmar_walk_remapping_entries() to the function .init.text:dmar_table_print_dmar_entry() The function dmar_walk_remapping_entries() references the function __init dmar_table_print_dmar_entry(). This is often because dmar_walk_remapping_entries lacks a __init annotation or the annotation of dmar_table_print_dmar_entry is wrong. This removes the __init annotation to avoid the warning. On compilers that don't show the warning today, this should have no impact since the function gets inlined anyway. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/iommu/of_iommu.c')
0 files changed, 0 insertions, 0 deletions