[PATCH] drm/tve200: Fix smatch warning

Linus Walleij linus.walleij at linaro.org
Fri Aug 26 12:23:46 UTC 2022


On Fri, Aug 26, 2022 at 2:05 PM Dan Carpenter <dan.carpenter at oracle.com> wrote:
> 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>

Excellent, patch applied!

Yours,
Linus Walleij


More information about the dri-devel mailing list