Re: linux-next: build failure after merge of the cifs tree

From: Steve French
Date: Wed Nov 10 2021 - 17:32:25 EST


I had a cut-n-paste error in updating one of Paulo's patches this
morning. Fixed now in cifs-2.6.git for-next

On Wed, Nov 10, 2021 at 3:57 PM Stephen Rothwell <sfr@xxxxxxxxxxxxxxxx> wrote:
>
> Hi all,
>
> After merging the cifs tree, today's linux-next build (powerpc
> ppc64_defconfig) failed like this:
>
> <stdin>:1559:2: warning: #warning syscall futex_waitv not implemented [-Wcpp]
> fs/cifs/connect.c: In function 'clean_demultiplex_info':
> fs/cifs/connect.c:841:2: error: stray '#' in program
> 841 | +#ifdef CONFIG_CIFS_DFS_UPCALL
> | ^
> fs/cifs/connect.c:841:3: error: 'ifdef' undeclared (first use in this function)
> 841 | +#ifdef CONFIG_CIFS_DFS_UPCALL
> | ^~~~~
> fs/cifs/connect.c:841:3: note: each undeclared identifier is reported only once for each function it appears in
> fs/cifs/connect.c:841:8: error: expected ';' before 'CONFIG_CIFS_DFS_UPCALL'
> 841 | +#ifdef CONFIG_CIFS_DFS_UPCALL
> | ^~~~~~~~~~~~~~~~~~~~~~~
> | ;
> fs/cifs/connect.c:843:15: error: 'struct TCP_Server_Info' has no member named 'leaf_fullpath'
> 843 | + kfree(server->leaf_fullpath);
> | ^~
> fs/cifs/connect.c:844:2: error: stray '#' in program
> 844 | +#endif
> | ^
> fs/cifs/connect.c:844:3: error: 'endif' undeclared (first use in this function); did you mean 'gendisk'?
> 844 | +#endif
> | ^~~~~
> | gendisk
> fs/cifs/connect.c:844:8: error: expected ';' before 'kfree'
> 844 | +#endif
> | ^
> | ;
> 845 | kfree(server);
> | ~~~~~
>
> Caused by commit
>
> 58b90aa95977 ("cifs: support nested dfs links over reconnect")
>
> I have used the cifs tree from next-20211110 for today.
>
> --
> Cheers,
> Stephen Rothwell



--
Thanks,

Steve