[PATCH] drm/tve200: Fix smatch warning

Linus Walleij linus.walleij at linaro.org
Fri Aug 26 11:35:56 UTC 2022


On Thu, May 5, 2022 at 11:52 PM Linus Walleij <linus.walleij at linaro.org> wrote:

> The "ret" variable is ambiguously returning something that
> could be zero in the tve200_modeset_init() function, assign
> it an explicit error return code to make this unambiguous.
>
> Reported-by: Dan Carpenter <dan.carpenter at oracle.com>
> Signed-off-by: Linus Walleij <linus.walleij at linaro.org>

Would someone show mercy on this patch and review it so I
can apply it?

Dan maybe? If it solves the problem you reported.

Yours,
Linus Walleij


More information about the dri-devel mailing list