]> git.baikalelectronics.ru Git - kernel.git/commit
virt: sev-guest: Pass the appropriate argument type to iounmap()
authorTom Lendacky <thomas.lendacky@amd.com>
Tue, 19 Jul 2022 17:12:52 +0000 (12:12 -0500)
committerBorislav Petkov <bp@suse.de>
Tue, 19 Jul 2022 20:26:02 +0000 (22:26 +0200)
commit93e199a389cecafd1a1b4de46d8485a4b87efcb3
tree860da24142b42ee14d0881a999e324c5d3e2875b
parente3abb3ac20c026872da1bea6bab37dcd334fde1e
virt: sev-guest: Pass the appropriate argument type to iounmap()

Fix a sparse warning in sev_guest_probe() where the wrong argument type is
provided to iounmap().

Fixes: 4822b984cb56 ("virt: Add SEV-SNP guest driver")
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Tom Lendacky <thomas.lendacky@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lore.kernel.org/r/202207150617.jqwQ0Rpz-lkp@intel.com
drivers/virt/coco/sev-guest/sev-guest.c