summaryrefslogtreecommitdiffstats
path: root/drivers/pci
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2018-10-08 04:24:19 +0200
committerJoerg Roedel <jroedel@suse.de>2018-10-08 16:46:41 +0200
commite84b7cc457f99ff5d034914e78e1c329df89ebee (patch)
tree3e20628e37936518d1e65c240fdcd43a26e0e141 /drivers/pci
parentiommu/amd: Move iommu_init_pci() to .init section (diff)
downloadlinux-e84b7cc457f99ff5d034914e78e1c329df89ebee.tar.xz
linux-e84b7cc457f99ff5d034914e78e1c329df89ebee.zip
iommu/amd: Add default branch in amd_iommu_capable()
Recent gcc warns about switching on an enumeration, but not having an explicit case statement for all members of the enumeration. To show the compiler this is intentional, we simply add a default case with nothing more than a break statement. Signed-off-by: Lu Baolu <baolu.lu@linux.intel.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'drivers/pci')
0 files changed, 0 insertions, 0 deletions