diff options
author | 2024-04-02 03:40:40 -0700 | |
---|---|---|
committer | 2024-04-03 09:07:57 +0200 | |
commit | 6e0718f21feda0ed97f932cee39b676817e457f2 (patch) | |
tree | e1f5a9c046271e446712ac092076da8401f6aca6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/panthor: Fix off by one in panthor_fw_get_cs_iface() (diff) | |
download | wireguard-linux-6e0718f21feda0ed97f932cee39b676817e457f2.tar.xz wireguard-linux-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 <harshit.m.mogalapalli@oracle.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240402104041.1689951-1-harshit.m.mogalapalli@oracle.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions