diff options
| author | Javier Martinez Canillas <[email protected]> | 2023-10-20 22:52:57 +0000 |
|---|---|---|
| committer | Javier Martinez Canillas <[email protected]> | 2023-10-30 10:00:27 +0000 |
| commit | 94565e95e247c188fed4d3da1034402f3fb297de (patch) | |
| tree | 97bd226911b60e1a800c5348abc95b9c88e33c6e /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
| parent | dt-bindings: display: ssd132x: Remove '-' before compatible enum (diff) | |
| download | kernel-94565e95e247c188fed4d3da1034402f3fb297de.tar.gz kernel-94565e95e247c188fed4d3da1034402f3fb297de.zip | |
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 <[email protected]>
Closes: https://lore.kernel.org/dri-devel/[email protected]/
Signed-off-by: Javier Martinez Canillas <[email protected]>
Acked-by: Jocelyn Falempe <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
(cherry picked from commit 9e4db199e66d427c50458f4d72734cc4f0b92948)
Signed-off-by: Javier Martinez Canillas <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions
