[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] xen/iommu: dt: Check the return value of xsm_deassign_dtdevice()
On 24/05/2022 08:54, Bertrand Marquis wrote:
Hi Julien,
Hi Bertrand,
On 22 May 2022, at 17:59, Julien Grall <julien@xxxxxxx> wrote:
From: Julien Grall <jgrall@xxxxxxxxxx>
xsm_deasign_dtdevice() will indicate whether the caller is allowed
to issue the operation. So the return value has to be checked.
Spotted by clang static analyzer.
Fixes: fe36cccc483c ("xen/passthrough: Extend XEN_DOMCTL_*assign_device to support
DT device")
Signed-off-by: Julien Grall <jgrall@xxxxxxxxxx>
With the typo spotted by Michal solved (can be done on commit):
Reviewed-by: Bertrand Marquis <bertrand.marquis@xxxxxxx>
I fixed the typo and committed.
Cheers,
--
Julien Grall
|