[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdZ1oaZiDJt==ZR-ZCy9HMC5wHR1tse37Xjv+zFzwYyvQQ@mail.gmail.com>
Date: Sun, 1 Oct 2017 01:32:04 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Dan Carpenter <dan.carpenter@...cle.com>
Cc: Daniel Vetter <daniel.vetter@...el.com>,
Jani Nikula <jani.nikula@...ux.intel.com>,
Sean Paul <seanpaul@...omium.org>,
David Airlie <airlied@...ux.ie>,
"open list:DRM PANEL DRIVERS" <dri-devel@...ts.freedesktop.org>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH] drm: of: always initialize panel in drm_of_find_panel_or_bridge()
On Mon, Sep 25, 2017 at 12:30 PM, Dan Carpenter
<dan.carpenter@...cle.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@...cle.com>
Patch applied.
Yours,
Linus Walleij
Powered by blists - more mailing lists