Re: [PATCH] iommu: amd: Added value check
From: Joerg Roedel
Date: Sat Nov 19 2022 - 05:01:27 EST
On Fri, Nov 18, 2022 at 01:42:52PM +0300, Denis Arefev wrote:
> Аdded a return value check for the function
> mmu_notifier_register.
>
> Return value of a function 'mmu_notifier_register'
> called at iommu_v2.c:642 is not checked,
> but it is usually checked for this function
>
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
>
> Signed-off-by: Denis Arefev <arefev@xxxxxxxxx>
> ---
> drivers/iommu/amd/iommu_v2.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
Applied, thanks.