diff options
author | Javier Martinez Canillas <javierm@redhat.com> | 2023-10-21 01:52:57 +0300 |
---|---|---|
committer | Javier Martinez Canillas <javierm@redhat.com> | 2023-10-30 13:00:27 +0300 |
commit | 94565e95e247c188fed4d3da1034402f3fb297de (patch) | |
tree | 97bd226911b60e1a800c5348abc95b9c88e33c6e /Documentation/devicetree | |
parent | a49cf37d538c764a687ff4be9d279b878a3e6521 (diff) | |
download | linux-94565e95e247c188fed4d3da1034402f3fb297de.tar.xz |
drm/ssd130x: Fix possible uninitialized usage of crtc_state variable
Avoid a possible uninitialized use of the crtc_state variable in function
ssd132x_primary_plane_atomic_check() and avoid the following Smatch warn:
drivers/gpu/drm/solomon/ssd130x.c:921 ssd132x_primary_plane_atomic_check()
error: uninitialized symbol 'crtc_state'.
Fixes: fdd591e00a9c ("drm/ssd130x: Add support for the SSD132x OLED controller family")
Reported-by: Dan Carpenter <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/dri-devel/7dd6ca45-8263-44fe-a318-2fd9d761425d@moroto.mountain/
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Acked-by: Jocelyn Falempe <jfalempe@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231020225338.1686974-1-javierm@redhat.com
(cherry picked from commit 9e4db199e66d427c50458f4d72734cc4f0b92948)
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Diffstat (limited to 'Documentation/devicetree')
0 files changed, 0 insertions, 0 deletions