Skip to contentSkip to conversation

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

DISCUSSION Stephen Rothwell 2 participants 4 messages Oct 30, 2025 – Nov 2, 2025 Linux-next tree

lore
Share & tools
lore
#0 lore raw

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from drivers/tty/n_tty.c:38:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from arch/powerpc/kvm/emulate_loadstore.c:10:
include/linux/jiffies.h:614:40: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:287: arch/powerpc/kvm/emulate_loadstore.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from drivers/infiniband/hw/mthca/mthca_catas.c:33:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
make[4]: *** [scripts/Makefile.build:556: arch/powerpc/kvm] Error 2
make[4]: *** Waiting for unfinished jobs....
In file included from drivers/scsi/scsi_netlink.c:8:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from kernel/irq/spurious.c:8:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/sunrpc/auth_gss/gss_krb5_unseal.c:61:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/netfilter/nf_conntrack_proto_generic.c:7:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/sunrpc/auth_gss/gss_krb5_seal.c:62:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/core/hotdata.c:3:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
make[3]: *** [scripts/Makefile.build:556: arch/powerpc] Error 2
make[3]: *** Waiting for unfinished jobs....
In file included from fs/btrfs/discard.c:3:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~

Caused by commit

44df6a7821ed ("sysctl: Move jiffies converters to kernel/time/jiffies.c")

I have used the sysctl tree from next-20251030 for today.

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

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

Is it *only* powerpc. Right? I'll take a look at this ASAP.

Thx for the heads up.

Best

Quoted 178 lines

In file included from drivers/tty/n_tty.c:38:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from arch/powerpc/kvm/emulate_loadstore.c:10:
include/linux/jiffies.h:614:40: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: error: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration [-Werror]
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
cc1: all warnings being treated as errors
make[5]: *** [scripts/Makefile.build:287: arch/powerpc/kvm/emulate_loadstore.o] Error 1
make[5]: *** Waiting for unfinished jobs....
In file included from drivers/infiniband/hw/mthca/mthca_catas.c:33:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
make[4]: *** [scripts/Makefile.build:556: arch/powerpc/kvm] Error 2
make[4]: *** Waiting for unfinished jobs....
In file included from drivers/scsi/scsi_netlink.c:8:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from kernel/irq/spurious.c:8:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/sunrpc/auth_gss/gss_krb5_unseal.c:61:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/netfilter/nf_conntrack_proto_generic.c:7:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/sunrpc/auth_gss/gss_krb5_seal.c:62:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from net/core/hotdata.c:3:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
make[3]: *** [scripts/Makefile.build:556: arch/powerpc] Error 2
make[3]: *** Waiting for unfinished jobs....
In file included from fs/btrfs/discard.c:3:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~

Caused by commit

44df6a7821ed ("sysctl: Move jiffies converters to kernel/time/jiffies.c")

I have used the sysctl tree from next-20251030 for today.

Signature · 2 lines
Cheers,
Stephen Rothwell
Signature · 1 line
Joel Granados
#2 lore raw
Quoted 6 lines · Joel Granados
Quoted 4 lines · Stephen Rothwell

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

Is it *only* powerpc. Right? I'll take a look at this ASAP.

Hi Joel,

powerpc was just the first build I did, so out is possible that there are other architectures and/or configs that also do not implicitly include the needed files.

Cheers,
Stephen Rothwell

Signature · 1 line
Sent from my Android device with K-9 Mail. Please excuse my brevity.
#3 lore raw
In reply to Stephen Rothwell
Quoted 22 lines · Stephen Rothwell

Hi all,

After merging the sysctl tree, today's linux-next build (powerpc ppc64_defconfig) failed like this:

In file included from drivers/tty/n_tty.c:38:
include/linux/jiffies.h:614:40: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
614 | int proc_dointvec_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:616:50: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
In file included from arch/powerpc/kvm/emulate_loadstore.c:10:

...

Quoted 12 lines

616 | int proc_dointvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:618:47: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
618 | int proc_dointvec_userhz_jiffies(const struct ctl_table *table, int dir,
| ^~~~~~~~~
include/linux/jiffies.h:620:43: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
620 | int proc_dointvec_ms_jiffies(const struct ctl_table *table, int dir, void *buffer,
| ^~~~~~~~~
include/linux/jiffies.h:622:52: warning: 'struct ctl_table' declared inside parameter list will not be visible outside of this definition or declaration
622 | int proc_doulongvec_ms_jiffies_minmax(const struct ctl_table *table, int dir,
| ^~~~~~~~~

Quoted 3 lines

Caused by commit

44df6a7821ed ("sysctl: Move jiffies converters to kernel/time/jiffies.c")

I'll push the small fix to linux-next and add it to 44df6a7821ed ("sysctl: Move jiffies converters to kernel/time/jiffies.c") in the sysctl tree.

Thx

Signature · 1 line
Joel Granados