[PATCH] drm/tve200: Fix smatch warning

Dan Carpenter dan.carpenter at oracle.com
Fri Aug 26 12:05:07 UTC 2022


On Fri, Aug 26, 2022 at 01:35:56PM +0200, Linus Walleij wrote:
> 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.

Yes.  This patch makes me happy.  Thanks!

Reviewed-by: Dan Carpenter <dan.carpenter at oracle.com>

regards,
dan carpenter



More information about the dri-devel mailing list