Skip to content
Commit a13b1e47 authored by Bo Liu's avatar Bo Liu Committed by Alex Williamson
Browse files

vfio: check vfio_register_iommu_driver() return value



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

Signed-off-by: default avatarBo Liu <liubo03@inspur.com>
Acked-by: default avatarCornelia Huck <cohuck@redhat.com>
Link: https://lore.kernel.org/r/20220622045651.5416-1-liubo03@inspur.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent d1877e63
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment