]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd3715e0b79a77e0cd5bedc994aabed58ba09d8c7
tree8513e5e04fcdac379b21cdb8fc1401bd6978cf81
parent16cb3f4bad90580ec92ef3eac17adb35b6c9bad4
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: 608015f6dfe6 ("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