diff options
author | Lu Baolu <baolu.lu@linux.intel.com> | 2018-10-08 04:24:19 +0200 |
---|---|---|
committer | Joerg Roedel <jroedel@suse.de> | 2018-10-08 16:46:41 +0200 |
commit | e84b7cc457f99ff5d034914e78e1c329df89ebee (patch) | |
tree | 3e20628e37936518d1e65c240fdcd43a26e0e141 /drivers/pci | |
parent | iommu/amd: Move iommu_init_pci() to .init section (diff) | |
download | linux-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