Commit 83874d51 authored by Bo Liu's avatar Bo Liu Committed by Joerg Roedel
Browse files

iommu/amd: Handle return of iommu_device_sysfs_add



As iommu_device_sysfs_add() can fail, we should check the return value.

Signed-off-by: default avatarBo Liu <liubo03@inspur.com>
Link: https://lore.kernel.org/r/20220701062008.6988-1-liubo03@inspur.com


Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 0d10fe75
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment