]> 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)
commitac35151359e989513df36d306dcca36a80baf3fd
tree860da24142b42ee14d0881a999e324c5d3e2875b
parent1a64393f53b5699d3cd4129eb8ec26435a95f899
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: edada5e9a6f6 ("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