diff options
author | Jani Nikula <jani.nikula@intel.com> | 2024-09-02 18:13:17 +0200 |
---|---|---|
committer | Thomas Zimmermann <tzimmermann@suse.de> | 2024-09-05 12:40:18 +0200 |
commit | ba2b9de0c1ac2abfbe663414a292c5881e64c361 (patch) | |
tree | d620c10fc789e55490ac77f7fe1b4dabdbcaaa14 /kernel/events/core.c | |
parent | MAINATINERS: update drm maintainer contacts (diff) | |
download | linux-ba2b9de0c1ac2abfbe663414a292c5881e64c361.tar.xz linux-ba2b9de0c1ac2abfbe663414a292c5881e64c361.zip |
drm/tegra: fix potential uninitialized variable use
It's likely either output->drm_edid or output->ddc is non-NULL, but
avoid the uninitialized variable usage anyway.
Reported-by: kernel test robot <dan.carpenter@linaro.org>
Closes: https://lore.kernel.org/r/ZtXLyXxew7z6H2bD@stanley.mountain
Fixes: 98365ca74cbf ("drm/tegra: convert to struct drm_edid")
Cc: Thierry Reding <treding@nvidia.com>
Cc: Daniel Vetter <daniel.vetter@ffwll.ch>
Cc: linux-tegra@vger.kernel.org
Acked-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20240902161317.2437148-1-jani.nikula@intel.com
Signed-off-by: Jani Nikula <jani.nikula@intel.com>
(cherry picked from commit 8e514bad271723473d31fcc496f7143ba49c43c5)
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Diffstat (limited to 'kernel/events/core.c')
0 files changed, 0 insertions, 0 deletions