Skip to contentSkip to conversation

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

DISCUSSION Valdis Klētnieks 2 participants 2 messages Oct 24, 2019

lore
Share & tools
lore
#0 lore raw

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

commit 79f0cf35dccb1df27436c11b1a928b7a46152211

Author: Mark Salyzyn <[email protected]>
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.

#1 lore raw

Hi Valdis,

Quoted 10 lines · On Thu, 24 Oct 2019 00:19:44 -0400 "Valdis Klētnieks"…

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

commit 79f0cf35dccb1df27436c11b1a928b7a46152211

Author: Mark Salyzyn <[email protected]>
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:

This patch has been removed for today's linux-next after other reports or errors.

Signature · 2 lines
Cheers,
Stephen Rothwell