summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2024-09-11 05:21:55 +0200
committerDave Airlie <airlied@redhat.com>2024-09-11 05:21:59 +0200
commitcd4ea49599a3b2233e5fb24a73b2f2d1ea3e35dc (patch)
tree4e5e07ed0267971d502239d153c50c8c0694ce0f
parentMerge tag 'exynos-drm-next-for-v6.12' of git://git.kernel.org/pub/scm/linux/k... (diff)
parentdrm/tegra: fix potential uninitialized variable use (diff)
downloadlinux-cd4ea49599a3b2233e5fb24a73b2f2d1ea3e35dc.tar.xz
linux-cd4ea49599a3b2233e5fb24a73b2f2d1ea3e35dc.zip
Merge tag 'drm-misc-next-fixes-2024-09-05' of https://gitlab.freedesktop.org/drm/misc/kernel into drm-next
Short summary of fixes pull: tegra: - Fix uninitialized variable in EDID code Signed-off-by: Dave Airlie <airlied@redhat.com> From: Thomas Zimmermann <tzimmermann@suse.de> Link: https://patchwork.freedesktop.org/patch/msgid/20240905113836.GA292407@linux.fritz.box
-rw-r--r--drivers/gpu/drm/tegra/output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpu/drm/tegra/output.c b/drivers/gpu/drm/tegra/output.c
index e6b5863fec71..49e4f63a5550 100644
--- a/drivers/gpu/drm/tegra/output.c
+++ b/drivers/gpu/drm/tegra/output.c
@@ -21,7 +21,7 @@
int tegra_output_connector_get_modes(struct drm_connector *connector)
{
struct tegra_output *output = connector_to_output(connector);
- const struct drm_edid *drm_edid;
+ const struct drm_edid *drm_edid = NULL;
int err = 0;
/*