[PATCH] drm: omapdrm: displays: panel-dsi-cm: Fix field access before set

Tomi Valkeinen tomi.valkeinen at ti.com
Fri Mar 2 13:12:59 UTC 2018


On 01/03/18 22:02, Laurent Pinchart wrote:
> The driver accesses the ddata->in field before it gets set in the
> dsicm_connect() function. Use the local in pointer variable instead.
> 
> Fixes: 7877632b4cd0 ("drm: omapdrm: displays: Get panel source at connect time")
> Signed-off-by: Laurent Pinchart <laurent.pinchart at ideasonboard.com>
> ---
>  drivers/gpu/drm/omapdrm/displays/panel-dsi-cm.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> Tomi,
> 
> This patch fixes a bug in a commit from your omapdrm-next branch that
> hasn't been merged upstream yet. I'll let you decide whether you want to
> squash it with the offending commit (and thus rebase) or apply it on
> top. Sorry for screwing up :-/

Thanks, I've picked this up and applied on top of omapdrm-next.

 Tomi

-- 
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki


More information about the dri-devel mailing list