[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <rvvbiogh3palkhlbq7ymnntujvzfuiivbaabvyplbidgf5djqy@ullh6sl2q43t>
Date: Fri, 31 Oct 2025 14:42:46 +0100
From: Joel Granados <joel.granados@...nel.org>
To: Stephen Rothwell <sfr@...b.auug.org.au>
Cc: Luis Chamberlain <mcgrof@...nel.org>, Kees Cook <kees@...nel.org>, 
	Linux Kernel Mailing List <linux-kernel@...r.kernel.org>, Linux Next Mailing List <linux-next@...r.kernel.org>
Subject: Re: linux-next: build failure after merge of the sysctl tree
On Fri, Oct 31, 2025 at 09:49:58AM +1100, Stephen Rothwell wrote:
> 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
> 
> 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.
> 
> -- 
> Cheers,
> Stephen Rothwell
-- 
Joel Granados
Download attachment "signature.asc" of type "application/pgp-signature" (660 bytes)
Powered by blists - more mailing lists
 
