diff options
| author | Ma Ke <make24@iscas.ac.cn> | 2024-09-13 12:04:12 +0300 |
|---|---|---|
| committer | Alain Volmat <alain.volmat@foss.st.com> | 2024-09-23 22:40:52 +0300 |
| commit | 831214f77037de02afc287eae93ce97f218d8c04 (patch) | |
| tree | 92ff8a616095015ba8866720716b306f17e996b9 /include/linux | |
| parent | e965e771b069421c233d674c3c8cd8c7f7245f42 (diff) | |
| download | linux-831214f77037de02afc287eae93ce97f218d8c04.tar.xz | |
drm/sti: avoid potential dereference of error pointers
The return value of drm_atomic_get_crtc_state() needs to be
checked. To avoid use of error pointer 'crtc_state' in case
of the failure.
Cc: stable@vger.kernel.org
Fixes: dd86dc2f9ae1 ("drm/sti: implement atomic_check for the planes")
Signed-off-by: Ma Ke <make24@iscas.ac.cn>
Link: https://patchwork.freedesktop.org/patch/msgid/20240913090412.2022848-1-make24@iscas.ac.cn
Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
