aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorAshish Kalra <[email protected]>2024-02-05 21:06:54 +0000
committerBorislav Petkov (AMD) <[email protected]>2024-02-07 17:27:03 +0100
commit45ba5b3c0a02949a4da74ead6e11c43e9b88bdca (patch)
tree238f18ac6ad00f2d23d4cd83b82c3a7d3ac5a325 /lib/test_fortify/write_overflow-strncpy-src.c
parent1c811d403afd73f04bde82b83b24c754011bd0e8 (diff)
iommu/amd: Fix failure return from snp_lookup_rmpentry()
Commit f366a8dac1b8: ("iommu/amd: Clean up RMP entries for IOMMU pages during SNP shutdown") leads to the following Smatch static checker warning: drivers/iommu/amd/init.c:3820 iommu_page_make_shared() error: uninitialized symbol 'assigned'. Fix it. [ bp: Address the other error cases too. ] Fixes: f366a8dac1b8 ("iommu/amd: Clean up RMP entries for IOMMU pages during SNP shutdown") Closes: https://lore.kernel.org/linux-iommu/[email protected] Reported-by: Dan Carpenter <[email protected]> Signed-off-by: Ashish Kalra <[email protected]> Signed-off-by: Borislav Petkov (AMD) <[email protected]> Cc: Joerg Roedel <[email protected]> Link: https://lore.kernel.org/lkml/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions