aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/atom.c
diff options
context:
space:
mode:
authorYang Yingliang <[email protected]>2022-10-29 07:49:31 +0000
committerDamien Le Moal <[email protected]>2022-10-31 11:28:05 +0000
commit015618c3ec19584c83ff179fa631be8cec906aaf (patch)
tree9760b63ccc3a3aba4da3c363a1b951f8d834469c /drivers/gpu/drm/amd/amdgpu/atom.c
parentata: pata_legacy: fix pdc20230_set_piomode() (diff)
downloadkernel-015618c3ec19584c83ff179fa631be8cec906aaf.tar.gz
kernel-015618c3ec19584c83ff179fa631be8cec906aaf.zip
ata: palmld: fix return value check in palmld_pata_probe()
If devm_platform_ioremap_resource() fails, it never return NULL pointer, replace the check with IS_ERR(). Fixes: 57bf0f5a162d ("ARM: pxa: use pdev resource for palmld mmio") Signed-off-by: Yang Yingliang <[email protected]> Reviewed-by: Sergey Shtylyov <[email protected]> Signed-off-by: Damien Le Moal <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/atom.c')
0 files changed, 0 insertions, 0 deletions