summaryrefslogtreecommitdiff
path: root/drivers/iommu/iommu.c
diff options
context:
space:
mode:
authorLu Baolu <baolu.lu@linux.intel.com>2018-10-08 10:24:19 +0800
committerJoerg Roedel <jroedel@suse.de>2018-10-08 16:46:41 +0200
commite84b7cc457f99ff5d034914e78e1c329df89ebee (patch)
tree3e20628e37936518d1e65c240fdcd43a26e0e141 /drivers/iommu/iommu.c
parent24d2c521749d8547765b555b7a85cca179bb2275 (diff)
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/iommu/iommu.c')
0 files changed, 0 insertions, 0 deletions