linux-next - sparse warnings after prefered/preferred patch.

From: Valdis KlÄtnieks
Date: Thu Oct 24 2019 - 00:19:58 EST


Building with C=1 W=1. After this commit:

commit 79f0cf35dccb1df27436c11b1a928b7a46152211
Author: Mark Salyzyn <salyzyn@xxxxxxxxxxx>
Date: Wed Oct 23 11:25:16 2019 +1100

treewide: cleanup: replace prefered with preferred

sparse throws messages on every single .c that includes sysctl.h:

CHECK kernel/sched/wait.c
./include/uapi/linux/sysctl.h:561:36: error: Expected } at end of specifier
./include/uapi/linux/sysctl.h:561:36: error: got __attribute__
CC kernel/sched/wait.o
CHECK kernel/sched/wait_bit.c
./include/uapi/linux/sysctl.h:561:36: error: Expected } at end of specifier
./include/uapi/linux/sysctl.h:561:36: error: got __attribute__
CC kernel/sched/wait_bit.o
CHECK kernel/sched/swait.c
./include/uapi/linux/sysctl.h:561:36: error: Expected } at end of specifier
./include/uapi/linux/sysctl.h:561:36: error: got __attribute__
CC kernel/sched/swait.o

The build has only gotten through 471 CC's so far - and 327 have thrown warnings.

Attachment: pgpSCZJjF_4Yn.pgp
Description: PGP signature