diff options
author | Bo Liu <liubo03@inspur.com> | 2022-06-22 07:56:51 +0300 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2022-06-27 22:57:08 +0300 |
commit | a13b1e472b93f69c35976351e59831564ed6a376 (patch) | |
tree | 0756d3f22daf455cec9214cae4df92e05ae064b5 /drivers/vfio/vfio_iommu_type1.c | |
parent | d1877e639bc6bf1c3131eda3f9ede73f8da96c22 (diff) | |
download | linux-a13b1e472b93f69c35976351e59831564ed6a376.tar.xz |
vfio: check vfio_register_iommu_driver() return value
As vfio_register_iommu_driver() can fail, we should check the return value.
Signed-off-by: Bo Liu <liubo03@inspur.com>
Acked-by: Cornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20220622045651.5416-1-liubo03@inspur.com
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio/vfio_iommu_type1.c')
0 files changed, 0 insertions, 0 deletions