Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1742706

Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge()

From Linus Walleij <linus.walleij@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge()
Date 2017-10-01 01:40 +0200
Message-ID <uvzwt-2zG-7@gated-at.bofh.it> (permalink)
References <utyXU-55N-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Mon, Sep 25, 2017 at 12:30 PM, Dan Carpenter
<dan.carpenter@oracle.com> wrote:

> 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>

Patch applied.

Yours,
Linus Walleij

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge() Linus Walleij <linus.walleij@linaro.org> - 2017-10-01 01:40 +0200

csiph-web