Re: [PATCH 5.4 084/357] treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 20, 2023 at 11:48:00AM -0500, Tom Saeger wrote:
> On Mon, Mar 20, 2023 at 02:24:35PM +0100, Greg Kroah-Hartman wrote:
> > On Fri, Mar 17, 2023 at 12:28:06PM -0600, Tom Saeger wrote:
> > > On Fri, Mar 10, 2023 at 02:36:13PM +0100, Greg Kroah-Hartman wrote:
> > > > From: Kees Cook <keescook@xxxxxxxxxxxx>
> > > > 
> > > > [ Upstream commit b13fecb1c3a603c4b8e99b306fecf4f668c11b32 ]
> > > > 
> > > > This converts all the existing DECLARE_TASKLET() (and ...DISABLED)
> > > > macros with DECLARE_TASKLET_OLD() in preparation for refactoring the
> > > > tasklet callback type. All existing DECLARE_TASKLET() users had a "0"
> > > > data argument, it has been removed here as well.
> > > > 
> > > > Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> > > > Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
> > > > Signed-off-by: Kees Cook <keescook@xxxxxxxxxxxx>
> > > > Stable-dep-of: 1fdeb8b9f29d ("wifi: iwl3945: Add missing check for create_singlethread_workqueue")
> > > > Signed-off-by: Sasha Levin <sashal@xxxxxxxxxx>
> > > > ---
> > > 
> > > I noticed kernelci.org bot (5.4) reports:
> > > 
> > >     Build Failures Detected:
> > > 
> > >     mips:
> > >         ip27_defconfig: (gcc-10) FAIL
> > >         ip28_defconfig: (gcc-10) FAIL
> > >         lasat_defconfig: (gcc-10) FAIL
> > > 
> > >     Errors summary:
> > > 
> > >     1    arch/mips/lasat/picvue_proc.c:87:20: error: ‘pvc_display_tasklet’ undeclared (first use in this function)
> > >     1    arch/mips/lasat/picvue_proc.c:42:44: error: expected ‘)’ before ‘&’ token
> > >     1    arch/mips/lasat/picvue_proc.c:33:13: error: ‘pvc_display’ defined but not used [-Werror=unused-function]
> > > 
> > > Link: https://lore.kernel.org/stable/64041dda.170a0220.8cc25.79c9@xxxxxxxxxxxxx/
> > > 
> > > Here's what I found...
> > > this backport to 5.4.y of:
> > > b13fecb1c3a6 ("treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()")
> > > changed all locations of DECLARE_TASKLET with DECLARE_TASKLET_OLD,
> > > except one, in arch/mips/lasat/pcivue_proc.c.
> > > 
> > > This is due to:
> > > 10760dde9be3 ("MIPS: Remove support for LASAT") preceeding
> > > b13fecb1c3a6 ("treewide: Replace DECLARE_TASKLET() with DECLARE_TASKLET_OLD()")
> > > upstream and the former not being present in 5.4.y.
> > > 
> > > I rolled a revert/re-apply with fixes in the attached mbox,
> > > however maybe just a revert makes more sense?  Up to you.
> > > 
> > > I have yet to try building this on mips, just did this by inspection.
> > 
> > I've taken your patches, let's see how that works...
> > 
> 
> Ugh, It didn't go well.  I now see a problem.  The change to DECLARE_TASKLET_OLD also
> removed the last parameter.  I missed that.  I'll spin-up a mips build.

Ick, ok, let me go drop both of these patches from the tree and we can
try again the next round of releases...

thanks,

greg k-h



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux