OSDN Git Service

drm/mcde: Fix an uninitialized variable
authorDan Carpenter <dan.carpenter@oracle.com>
Wed, 29 May 2019 11:34:58 +0000 (14:34 +0300)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Jun 2019 09:55:23 +0000 (11:55 +0200)
commitbb5ce9a017b851190300bf01b73eb96fc528b6c4
tree8513e5e04fcdac379b21cdb8fc1401bd6978cf81
parent31534fda1259c7f149296ad445dc2dbd7609dba0
drm/mcde: Fix an uninitialized variable

We never set "vblank" to "false".

Current versions of GCC will initialize it to zero automatically at
certain optimization levels so that's probably why this didn't show up
in testing.

Fixes: 5fc537bfd000 ("drm/mcde: Add new driver for ST-Ericsson MCDE")
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/20190529113458.GG19119@mwanda
drivers/gpu/drm/mcde/mcde_display.c