Re: [kbuild-all] Re: [PATCH] ARM: dove: fix returnvar.cocci warnings

From: Philip Li
Date: Thu May 05 2022 - 21:11:43 EST


On Thu, May 05, 2022 at 03:08:40PM +0100, Russell King (Oracle) wrote:
> On Tue, May 03, 2022 at 10:45:32AM +0800, kernel test robot wrote:
> > From: kernel test robot <lkp@xxxxxxxxx>
> >
> > arch/arm/mach-omap2/dma.c:82:10-16: Unneeded variable: "errata". Return "0" on line 161
> >
> >
> > Remove unneeded variable used to store return value.
> >
> > Generated by: scripts/coccinelle/misc/returnvar.cocci
> >
> > Reported-by: kernel test robot <lkp@xxxxxxxxx>
> > Signed-off-by: kernel test robot <lkp@xxxxxxxxx>
>
> NAK. The analysis is wrong.

sorry about the false patch, we will improve this.

>
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!
> _______________________________________________
> kbuild-all mailing list -- kbuild-all@xxxxxxxxxxxx
> To unsubscribe send an email to kbuild-all-leave@xxxxxxxxxxxx