Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 2 messages Nov 10, 2021

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

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.

Signature · 2 lines
Cheers,
Stephen Rothwell
#1 lore raw

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

Quoted 45 lines · Stephen Rothwell

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

Signature · 3 lines
Thanks,

Steve