Re: [PATCH] iommu/amd: Remove redundant check

2022-04-28 Thread Joerg Roedel
On Mon, Mar 14, 2022 at 12:32:26PM +0530, Vasant Hegde wrote: > smatch static checker warning: > drivers/iommu/amd/init.c:1989 amd_iommu_init_pci() > warn: duplicate check 'ret' (previous on line 1978) > > Reported-by: Dan Carpenter > Fixes: 06687a03805e ("iommu/amd: Improve error handling fo

Re: [PATCH] iommu/amd: Remove redundant check

2022-03-28 Thread Vasant Hegde via iommu
Joerg, Ping. -Vasant On 3/14/2022 12:32 PM, Vasant Hegde via iommu wrote: > smatch static checker warning: > drivers/iommu/amd/init.c:1989 amd_iommu_init_pci() > warn: duplicate check 'ret' (previous on line 1978) > > Reported-by: Dan Carpenter > Fixes: 06687a03805e ("iommu/amd: Improve er

[PATCH] iommu/amd: Remove redundant check

2022-03-14 Thread Vasant Hegde via iommu
smatch static checker warning: drivers/iommu/amd/init.c:1989 amd_iommu_init_pci() warn: duplicate check 'ret' (previous on line 1978) Reported-by: Dan Carpenter Fixes: 06687a03805e ("iommu/amd: Improve error handling for amd_iommu_init_pci") Signed-off-by: Vasant Hegde --- drivers/iommu/amd