commit | e84b7cc457f99ff5d034914e78e1c329df89ebee | [log] [tgz] |
---|---|---|
author | Lu Baolu <baolu.lu@linux.intel.com> | Mon Oct 08 10:24:19 2018 +0800 |
committer | Joerg Roedel <jroedel@suse.de> | Mon Oct 08 16:46:41 2018 +0200 |
tree | 3e20628e37936518d1e65c240fdcd43a26e0e141 | |
parent | 24d2c521749d8547765b555b7a85cca179bb2275 [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>