Re: [PATCH] iommu/amd: Handle return of iommu_device_sysfs_add

From: Joerg Roedel
Date: Wed Jul 06 2022 - 07:38:42 EST


On Fri, Jul 01, 2022 at 02:20:08AM -0400, Bo Liu wrote:
> As iommu_device_sysfs_add() can fail, we should check the return value.
>
> Signed-off-by: Bo Liu <liubo03@xxxxxxxxxx>
> ---
> drivers/iommu/amd/init.c | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)

Applied, thanks.