diff options
author | 2023-08-12 14:27:48 +0800 | |
---|---|---|
committer | 2023-12-07 11:51:42 +0900 | |
commit | 73bf1c9ae6c054c53b8e84452c5e46f86dd28246 (patch) | |
tree | ba7facc3f4f80b97d29468fd2defaf8b98edd8e2 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge tag 'drm-intel-fixes-2023-12-01-1' of git://anongit.freedesktop.org/drm/drm-intel into drm-fixes (diff) | |
download | wireguard-linux-73bf1c9ae6c054c53b8e84452c5e46f86dd28246.tar.xz wireguard-linux-73bf1c9ae6c054c53b8e84452c5e46f86dd28246.zip |
drm/exynos: fix a potential error pointer dereference
Smatch reports the warning below:
drivers/gpu/drm/exynos/exynos_hdmi.c:1864 hdmi_bind()
error: 'crtc' dereferencing possible ERR_PTR()
The return value of exynos_drm_crtc_get_by_type maybe ERR_PTR(-ENODEV),
which can not be used directly. Fix this by checking the return value
before using it.
Signed-off-by: Xiang Yang <xiangyang3@huawei.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions