Skip to content
Commit 4674686d authored by yzhai003@ucr.edu's avatar yzhai003@ucr.edu Committed by Joerg Roedel
Browse files

iommu/amd: Argument page_size could be uninitialized



Argument "page_size" passing to function "fetch_pte" could be
uninitialized if the function returns NULL

The caller "iommu_unmap_page" checks the return value but the page_size is
used outside the if block.

Signed-off-by: default avataryzhai003@ucr.edu <yzhai003@ucr.edu>
Signed-off-by: default avatarJoerg Roedel <jroedel@suse.de>
parent 021c9179
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment