Messages in this thread | | | From | Cornelia Huck <> | Subject | Re: [PATCH v2 1/1] vfio: check vfio_register_iommu_driver() return value | Date | Thu, 23 Jun 2022 15:26:12 +0200 |
| |
On Wed, Jun 22 2022, Bo Liu <liubo03@inspur.com> wrote:
> As vfio_register_iommu_driver() can fail, we should check the return value. > > Signed-off-by: Bo Liu <liubo03@inspur.com> > --- > Changes from v1: > -move the pr_info() > -move #endif above the ret test > -remove #ifdefs above the err_driver_register > > drivers/vfio/vfio.c | 10 +++++++--- > 1 file changed, 7 insertions(+), 3 deletions(-)
Acked-by: Cornelia Huck <cohuck@redhat.com>
| |