lkml.org 
[lkml]   [2017]   [Sep]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [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@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

\
 
 \ /
  Last update: 2017-10-01 01:32    [W:1.755 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site