diff options
| author | Pei Xiao <xiaopei01@kylinos.cn> | 2025-09-18 10:54:02 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2025-10-22 08:09:37 +0200 |
| commit | cebd22dd3a0ac76e0e1f2f369bba710bc6b1dc66 (patch) | |
| tree | 49874b20857cd13e0325bfbbea8c2a243049252d /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | b811e8a01d8db2ea605e6158063aac0bf00c77b8 (diff) | |
platform: Use IOMEM_ERR_PTR for ioremap error returns
Replace ERR_PTR() with IOMEM_ERR_PTR() in stubbed ioremap functions to
maintain type consistency. The functions return void __iomem * pointers
and IOMEM_ERR_PTR() provides proper type casting to avoid sparse warnings.
Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202509060307.JubgnLhc-lkp@intel.com/
Signed-off-by: Pei Xiao <xiaopei01@kylinos.cn>
Link: https://patch.msgid.link/320f2cc9ada5cb66845daa6bf259000b4cffd8b3.1758163939.git.xiaopei01@kylinos.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions