Re: [PATCH] ntsync: Check wait count based on byte size.

Elizabeth Figura <[email protected]> Thu, 20 Feb 2025 13:30:10 -0600
Newsgroups gmane.comp.emulators.wine.devel,gmane.linux.kernel
Message-ID <2297779.iZASKD2KPV@camazotz>
On Wednesday, 19 February 2025 08:25:27 CST Greg Kroah-Hartman wrote:
> On Tue, Feb 18, 2025 at 06:19:20PM -0600, Elizabeth Figura wrote:
> > GCC versions below 13 incorrectly detect the copy size as being static and too
> > small to fit in the "fds" array. Work around this by explicitly calculating the
> > size and returning EINVAL based on that, instead of based on the object count.
> > 
> > Reported-by: kernel test robot <[email protected]>
> > Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/
> > Suggested-by: Arnd Bergmann <[email protected]>
> > 
> > --
> > 
> > Suggested-by as per Arnd's request, but the only thing I changed was preserving
> > array_size() [as noted by Geert in the linked thread]. I tested and found no
> > regressions.
> 
> You forgot to sign-off on this commit :(
> 
> Can you resend it please with that fixed?

Done, thanks. I used to have format.signOff=true but lost that somewhere...