Re: [RFC PATCH v2 03/10] iommu/amd: Add default branch in amd_iommu_capable()

2018-09-05 Thread Lu Baolu
Hi, On 09/06/2018 03:37 AM, Alex Williamson wrote: On Thu, 30 Aug 2018 12:09:15 +0800 Lu Baolu wrote: Otherwise, there will be a build warning: drivers/iommu/amd_iommu.c:3083:2: warning: enumeration value 'IOMMU_CAP_AUX_DOMAIN' not handled in switch [-Wswitch] There is no functional

Re: [RFC PATCH v2 03/10] iommu/amd: Add default branch in amd_iommu_capable()

2018-09-05 Thread Alex Williamson
On Thu, 30 Aug 2018 12:09:15 +0800 Lu Baolu wrote: > Otherwise, there will be a build warning: > > drivers/iommu/amd_iommu.c:3083:2: warning: enumeration value > 'IOMMU_CAP_AUX_DOMAIN' not handled in switch [-Wswitch] > > There is no functional change. > > Signed-off-by: Lu Baolu > --- >

[RFC PATCH v2 03/10] iommu/amd: Add default branch in amd_iommu_capable()

2018-08-29 Thread Lu Baolu
Otherwise, there will be a build warning: drivers/iommu/amd_iommu.c:3083:2: warning: enumeration value 'IOMMU_CAP_AUX_DOMAIN' not handled in switch [-Wswitch] There is no functional change. Signed-off-by: Lu Baolu --- drivers/iommu/amd_iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff