Repository navigation
Commit e84b7cc
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>1 parent 24d2c52 commit e84b7cc
1 file changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3083 | 3083 | | |
3084 | 3084 | | |
3085 | 3085 | | |
| 3086 | + | |
| 3087 | + | |
3086 | 3088 | | |
3087 | 3089 | | |
3088 | 3090 | | |
| |||
0 commit comments