Re: [linux-stable-rc:linux-4.19.y] [panic] 4d00e68cfc: WARNING:at_fs/sysfs/file.c:#sysfs_emit_at

From: Greg Kroah-Hartman
Date: Fri Mar 17 2023 - 02:50:50 EST


On Thu, Mar 16, 2023 at 11:32:13PM -0700, Eric Biggers wrote:
> On Tue, Mar 14, 2023 at 04:34:22PM +0800, kernel test robot wrote:
> > Greeting,
> >
> > FYI, we noticed WARNING:at_fs/sysfs/file.c:#sysfs_emit_at due to commit (built with gcc-11):
> >
> > commit: 4d00e68cfcfd91d3a8c794d47617429a96d623ed ("panic: Expose "warn_count" to sysfs")
> > https://git.kernel.org/cgit/linux/kernel/git/stable/linux-stable-rc.git linux-4.19.y
>
> It turns out this is a longstanding bug in 4.19.y and 4.14.y caused by a bad
> backport, which is not actually related to the above commit (or the patch series
> that contained it) at all. I've sent out fixes:
>
> 4.19: https://lore.kernel.org/r/20230317062743.313169-1-ebiggers@xxxxxxxxxx
> 4.14: https://lore.kernel.org/r/20230317062801.313217-1-ebiggers@xxxxxxxxxx

Thanks for these, I'll queue it up the next round.

greg k-h