[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <875ykr8qa3.fsf@redhat.com>
Date: Thu, 23 Jun 2022 15:26:12 +0200
From: Cornelia Huck <cohuck@...hat.com>
To: Bo Liu <liubo03@...pur.com>, alex.williamson@...hat.com
Cc: kvm@...r.kernel.org, linux-kernel@...r.kernel.org,
Bo Liu <liubo03@...pur.com>
Subject: Re: [PATCH v2 1/1] vfio: check vfio_register_iommu_driver() return
value
On Wed, Jun 22 2022, Bo Liu <liubo03@...pur.com> wrote:
> As vfio_register_iommu_driver() can fail, we should check the return value.
>
> Signed-off-by: Bo Liu <liubo03@...pur.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@...hat.com>
Powered by blists - more mailing lists