]> 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)
commita81ffc2bc818ea43a042962b362438455e640bcc
tree8513e5e04fcdac379b21cdb8fc1401bd6978cf81
parentab49e453748a9a310cc4328d578e63c935b2cb81
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: b54b2b95e2dd ("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