Skip to content
Commit b09b5673 authored by Denis Arefev's avatar Denis Arefev Committed by Joerg Roedel
Browse files

iommu/amd: Check return value of mmu_notifier_register()



А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: default avatarDenis Arefev <arefev@swemel.ru>
Link: https://lore.kernel.org/r/20221118104252.122809-1-arefev@swemel.ru


[joro: Fix commit message ]
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 6cf0981c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment