diff options
| author | Harshit Mogalapalli <[email protected]> | 2024-04-02 10:40:40 +0000 |
|---|---|---|
| committer | Boris Brezillon <[email protected]> | 2024-04-03 07:07:57 +0000 |
| commit | 6e0718f21feda0ed97f932cee39b676817e457f2 (patch) | |
| tree | e1f5a9c046271e446712ac092076da8401f6aca6 /drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c | |
| parent | drm/panthor: Fix off by one in panthor_fw_get_cs_iface() (diff) | |
| download | kernel-6e0718f21feda0ed97f932cee39b676817e457f2.tar.gz kernel-6e0718f21feda0ed97f932cee39b676817e457f2.zip | |
drm/panthor: Fix NULL vs IS_ERR() bug in panthor_probe()
The devm_drm_dev_alloc() function returns error pointers.
Update the error handling to check for error pointers instead of NULL.
Fixes: 4bdca1150792 ("drm/panthor: Add the driver frontend block")
Signed-off-by: Harshit Mogalapalli <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Boris Brezillon <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c')
0 files changed, 0 insertions, 0 deletions
