diff options
| author | Dan Carpenter <[email protected]> | 2024-08-20 08:42:40 +0000 |
|---|---|---|
| committer | Thomas Gleixner <[email protected]> | 2024-08-20 15:05:32 +0000 |
| commit | efe81b7bdf7d882d0ce3d183f1571321046da8f1 (patch) | |
| tree | c33257f107940f70f6570395cd8d5a35bf4442a3 /drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c | |
| parent | irqchip/gic-v4: Fix ordering between vmapp and vpe locks (diff) | |
| download | kernel-efe81b7bdf7d882d0ce3d183f1571321046da8f1.tar.gz kernel-efe81b7bdf7d882d0ce3d183f1571321046da8f1.zip | |
irqchip/riscv-aplic: Fix an IS_ERR() vs NULL bug in probe()
The devm_platform_ioremap_resource() function doesn't return NULL, it
returns error pointers. Fix the error handling to match.
Fixes: 2333df5ae51e ("irqchip: Add RISC-V advanced PLIC driver for direct-mode")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Reviewed-by: Jinjie Ruan <[email protected]>
Reviewed-by: Anup Patel <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ctx.c')
0 files changed, 0 insertions, 0 deletions
