public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* new noisy sparse warnings building 7.0-rc1
@ 2026-02-26 16:47 Steve French
  2026-02-26 19:14 ` Al Viro
  0 siblings, 1 reply; 2+ messages in thread
From: Steve French @ 2026-02-26 16:47 UTC (permalink / raw)
  To: LKML

I see some very noisy sparse warnings building 7.0-rc1

Any ideas how to avoid them?

ake: Entering directory '/usr/src/linux-headers-7.0.0-070000rc1-generic'
make[1]: Entering directory '/home/smfrench/cifs-2.6/fs/smb/client'
warning: the compiler differs from the one used to build the kernel
  The kernel was built by: x86_64-linux-gnu-gcc-15 (Ubuntu
15.2.0-4ubuntu4) 15.2.0
  You are using:           gcc-15 (Ubuntu 15.2.0-4ubuntu4) 15.2.0
warning: pahole version differs from the one used to build the kernel
  The kernel was built with: 130
  You are using:             0
  CC [M]  cifsfs.o
  CHECK   cifsfs.c
cifsfs.c: note: in included file (through
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/security.h,
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/net/scm.h,
...):
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
cifsfs.c:1023:19: error: Expected ) in function call
cifsfs.c:1023:19: error: got ,
cifsfs.c:1023:19: error: Expected ) in function call
cifsfs.c:1023:19: error: got ,
cifsfs.c:1023:19: error: Expected ) in function call
cifsfs.c:1023:19: error: got ,
cifsfs.c:1027:24: error: Expected ) in function call
cifsfs.c:1027:24: error: got ,
cifsfs.c:1027:24: error: Expected ) in function call
cifsfs.c:1027:24: error: got ,
cifsfs.c:1027:24: error: Expected ) in function call
cifsfs.c:1027:24: error: got ,
cifsfs.c:1023:19: error: undefined identifier '_res'
cifsfs.c:1023:19: error: undefined identifier '__VA_OPT__'
cifsfs.c:1023:19: error: undefined identifier '_res'
cifsfs.c:1023:19: error: undefined identifier '__VA_OPT__'
cifsfs.c:1023:19: error: undefined identifier '_res'
cifsfs.c:1027:24: error: undefined identifier '_res'
cifsfs.c:1027:24: error: undefined identifier '__VA_OPT__'
cifsfs.c:1027:24: error: undefined identifier '_res'
cifsfs.c:1027:24: error: undefined identifier '__VA_OPT__'
cifsfs.c:1027:24: error: undefined identifier '_res'
  CC [M]  dir.o
  CHECK   dir.c
dir.c: note: in included file (through
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/security.h,
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/net/scm.h,
...):
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
  CC [M]  file.o
  CHECK   file.c
file.c: note: in included file (through
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/security.h,
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/net/scm.h,
...):
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: Expected ) in function call
/usr/src/linux-headers-7.0.0-070000rc1-generic/include/linux/bpf.h:2302:16:
error: got __VA_OPT__
file.c:492:22: error: Expected ) in function call
file.c:492:22: error: got ,
file.c:492:22: error: Expected ) in function call
file.c:492:22: error: got ,
file.c:492:22: error: Expected ) in function call
file.c:492:22: error: got ,
file.c:676:17: error: Expected ) in function call
file.c:676:17: error: got ,
file.c:676:17: error: Expected ) in function call
file.c:676:17: error: got ,
file.c:676:17: error: Expected ) in function call
file.c:676:17: error: got ,
file.c:680:19: error: Expected ) in function call
file.c:680:19: error: got ,
file.c:680:19: error: Expected ) in function call
file.c:680:19: error: got ,
file.c:680:19: error: Expected ) in function call
file.c:680:19: error: got ,
file.c:1461:26: error: Expected ) in function call
file.c:1461:26: error: got ,
file.c:1461:26: error: Expected ) in function call
file.c:1461:26: error: got ,
file.c:1461:26: error: Expected ) in function call
file.c:1461:26: error: got ,
file.c:1585:17: error: Expected ) in function call
file.c:1585:17: error: got ,
file.c:1585:17: error: Expected ) in function call
file.c:1585:17: error: got ,
file.c:1585:17: error: Expected ) in function call
file.c:1585:17: error: got ,
file.c:1856:15: error: Expected ) in function call
file.c:1856:15: error: got ,
file.c:1856:15: error: Expected ) in function call
file.c:1856:15: error: got ,
file.c:1856:15: error: Expected ) in function call
file.c:1856:15: error: got ,
file.c:1948:23: error: Expected ) in function call
file.c:1948:23: error: got ,
file.c:1948:23: error: Expected ) in function call
file.c:1948:23: error: got ,
file.c:1948:23: error: Expected ) in function call
file.c:1948:23: error: got ,
file.c:2232:15: error: Expected ) in function call
file.c:2232:15: error: got ,
file.c:2232:15: error: Expected ) in function call
file.c:2232:15: error: got ,
file.c:2232:15: error: Expected ) in function call
file.c:2232:15: error: got ,
file.c:492:22: error: undefined identifier '_res'
file.c:492:22: error: undefined identifier '__VA_OPT__'
file.c:492:22: error: undefined identifier '_res'
file.c:492:22: error: undefined identifier '__VA_OPT__'
file.c:492:22: error: undefined identifier '_res'
file.c:676:17: error: undefined identifier '_res'
file.c:676:17: error: undefined identifier '__VA_OPT__'
file.c:676:17: error: undefined identifier '_res'
file.c:676:17: error: undefined identifier '__VA_OPT__'
file.c:676:17: error: undefined identifier '_res'
file.c:680:19: error: undefined identifier '_res'
file.c:680:19: error: undefined identifier '__VA_OPT__'
file.c:680:19: error: undefined identifier '_res'
file.c:680:19: error: undefined identifier '__VA_OPT__'
file.c:680:19: error: undefined identifier '_res'
file.c:1948:23: error: undefined identifier '_res'
file.c:1948:23: error: undefined identifier '__VA_OPT__'
file.c:1948:23: error: undefined identifier '_res'
file.c:1948:23: error: undefined identifier '__VA_OPT__'
file.c:1948:23: error: undefined identifier '_res'
file.c:1461:26: error: undefined identifier '_res'
file.c:1461:26: error: undefined identifier '__VA_OPT__'
file.c:1461:26: error: undefined identifier '_res'
file.c:1461:26: error: undefined identifier '__VA_OPT__'
file.c:1461:26: error: undefined identifier '_res'
file.c:1585:17: error: undefined identifier '_res'
file.c:1585:17: error: undefined identifier '__VA_OPT__'
file.c:1585:17: error: undefined identifier '_res'
file.c:1585:17: error: undefined identifier '__VA_OPT__'
file.c:1585:17: error: undefined identifier '_res'
file.c:1856:15: error: undefined identifier '_res'
file.c:1856:15: error: undefined identifier '__VA_OPT__'
file.c:1856:15: error: undefined identifier '_res'
file.c:1856:15: error: undefined identifier '__VA_OPT__'
file.c:1856:15: error: undefined identifier '_res'
file.c:2232:15: error: undefined identifier '_res'
file.c:2232:15: error: undefined identifier '__VA_OPT__'
file.c:2232:15: error: undefined identifier '_res'
file.c:2232:15: error: undefined identifier '__VA_OPT__'
file.c:2232:15: error: undefined identifier '_res'


-- 
Thanks,

Steve

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: new noisy sparse warnings building 7.0-rc1
  2026-02-26 16:47 new noisy sparse warnings building 7.0-rc1 Steve French
@ 2026-02-26 19:14 ` Al Viro
  0 siblings, 0 replies; 2+ messages in thread
From: Al Viro @ 2026-02-26 19:14 UTC (permalink / raw)
  To: Steve French; +Cc: LKML

On Thu, Feb 26, 2026 at 10:47:49AM -0600, Steve French wrote:
> I see some very noisy sparse warnings building 7.0-rc1
> 
> Any ideas how to avoid them?

Sigh...  __VA_OPT__ is currently unsupported in sparse; I have a stalled
branch adding that (from back in December), hopefully will have something
usable posted in a few days.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-02-26 19:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-02-26 16:47 new noisy sparse warnings building 7.0-rc1 Steve French
2026-02-26 19:14 ` Al Viro

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox