diff options
author | Harshit Mogalapalli <[email protected]> | 2024-04-02 03:40:40 -0700 |
---|---|---|
committer | Boris Brezillon <[email protected]> | 2024-04-03 09:07:57 +0200 |
commit | 6e0718f21feda0ed97f932cee39b676817e457f2 (patch) | |
tree | e1f5a9c046271e446712ac092076da8401f6aca6 /drivers/fpga/fpga-bridge.c | |
parent | 2b5890786014b926f845402ae80ebc71c4bd6d5c (diff) |
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/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions