Hi all,
After merging the cifs tree, today's linux-next build (powerpc
ppc64_defconfig) produced this warning:
fs/cifs/connect.c: In function 'is_path_remote':
fs/cifs/connect.c:3436:14: warning: unused variable 'nodfs' [-Wunused-variable]
3436 | bool nodfs = cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS;
| ^~~~~
Introduced by commit
421ef3d56513 ("cifs: don't call cifs_dfs_query_info_nonascii_quirk() if nodfs was set")
--
Cheers,
Stephen Rothwell
Added trivial patch to cifs-2.6.git for-next to fix the warning
On Sun, May 22, 2022 at 7:57 PM Stephen Rothwell <[email protected]> wrote:
>
> Hi all,
>
> After merging the cifs tree, today's linux-next build (powerpc
> ppc64_defconfig) produced this warning:
>
> fs/cifs/connect.c: In function 'is_path_remote':
> fs/cifs/connect.c:3436:14: warning: unused variable 'nodfs' [-Wunused-variable]
> 3436 | bool nodfs = cifs_sb->mnt_cifs_flags & CIFS_MOUNT_NO_DFS;
> | ^~~~~
>
> Introduced by commit
>
> 421ef3d56513 ("cifs: don't call cifs_dfs_query_info_nonascii_quirk() if nodfs was set")
>
> --
> Cheers,
> Stephen Rothwell
--
Thanks,
Steve