diff options
| author | Matt Evans <mattev@meta.com> | 2026-05-22 05:42:11 -0700 |
|---|---|---|
| committer | Alex Williamson <alex@shazbot.org> | 2026-05-22 08:36:11 -0600 |
| commit | 89818517c2ac011c753d328e048e6bffdc31f9bf (patch) | |
| tree | 2cad801ef006a5313ad6e2b82365d05a3bd79769 /drivers/phy/eswin/git@git.tavy.me:linux.git | |
| parent | b9285405c5f6144f4444f97bf3048d865e11cc1d (diff) | |
vfio/pci: Fix sparse warning in vfio_pci_core_get_iomap()
Use IOMEM_ERR_PTR() when returning a void __iomem * rather than
ERR_PTR(). This fixes a sparse warning, "different address spaces".
Fixes: 859dc0f6253b ("vfio/pci: Replace vfio_pci_core_setup_barmap() with vfio_pci_core_get_iomap()")
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202605211601.U1OvmuqY-lkp@intel.com/
Signed-off-by: Matt Evans <mattev@meta.com>
Link: https://lore.kernel.org/r/20260522124215.3268565-1-mattev@meta.com
Signed-off-by: Alex Williamson <alex@shazbot.org>
Diffstat (limited to 'drivers/phy/eswin/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
