Re: [PATCH 5.18 0/6] 5.18.9-rc1 review

Sudip Mukherjee
2022-07-01T10:31:50Z

On Fri, Jul 01, 2022 at 10:24:10AM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jul 01, 2022 at 02:59:10PM +0700, Bagas Sanjaya wrote:
> > On Thu, Jun 30, 2022 at 03:47:26PM +0200, Greg Kroah-Hartman wrote:
> > > This is the start of the stable review cycle for the 5.18.9 release.
> > > There are 6 patches in this series, all will be posted as a response
> > > to this one. If anyone has any issues with these being applied, please
> > > let me know.
> > >
> >
> > Successfully cross-compiled for arm64 (bcm2711_defconfig, GCC 12.1.0)
> > and powerpc (ps3_defconfig, GCC 12.1.0).
> >
> > I get a warning on cifs:
> >
> > CC [M] fs/cifs/connect.o
> > CC drivers/tty/tty_baudrate.o
> > CC drivers/tty/tty_jobctrl.o
> > fs/cifs/connect.c: In function 'is_path_remote':
> > fs/cifs/connect.c:3426:14: warning: unused variable 'nodfs' [-Wunused-variable]
> > 3426 | bool nodfs = cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS;
> > | ^~~~~
> >
> > The culprit is commit 2340f1adf9fbb3 ("cifs: don't call
> > cifs_dfs_query_info_nonascii_quirk() if nodfs was set") (upstream commit
> > 421ef3d56513b2).
>
> Again, gcc-12 is going to have problems with stable releases until
> Linus's tree is fixed up entirely. Once that happens, then I will take
> backports to stable kernels to get them to build properly.

I have not tested, but this should be fixed by this one:

93ed91c020aa ("cifs: fix minor compile warning")

--
Regards
Sudip