[PATCH] drm/mcde: Fix uninitialized value

Sam Ravnborg sam at ravnborg.org
Mon Nov 23 16:37:35 EST 2020


On Thu, Nov 19, 2020 at 03:07:07PM +0100, Linus Walleij wrote:
> "val" isn't initialized on the default: errorpath.
> Just return from the function if this happens.
> 
> Reported-by: kernel test robot <lkp at intel.com>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
Reviewed-by: Sam Ravnborg <sam at ravnborg.org>

In the same function - it looks like a bug that the code
returns when it sees a MCDE_CHANNEL_3 - line 524.

	Sam



More information about the linux-arm-kernel mailing list