Searched hist:"320 e421ea303b1e53451b2b4cd3ad18cdd043b3b" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/gpu/drm/ |
H A D | drm_of.c | diff 320e421ea303b1e53451b2b4cd3ad18cdd043b3b Mon Sep 25 12:30:38 CEST 2017 Dan Carpenter <dan.carpenter@oracle.com> drm: of: always initialize panel in drm_of_find_panel_or_bridge()
The callers expect "panel" to be initialized, but that isn't true if we return -ENODEV. It causes bugs like:
drivers/gpu/drm/tve200/tve200_drv.c:83 tve200_modeset_init() error: uninitialized symbol 'panel'.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Link: https://patchwork.freedesktop.org/patch/msgid/20170925103038.lvr5msjvekwczctn@mwanda
|