From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Luis Chamberlain <mcgrof@kernel.org>, Kees Cook <kees@kernel.org>,
Joel Granados <joel.granados@kernel.org>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: linux-next: build failure after merge of the sysctl tree
Date: Fri, 31 Oct 2025 09:49:58 +1100 [thread overview]
Message-ID: <20251031094958.432f4e44@canb.auug.org.au> (raw)
[-- Attachment #1: Type: text/plain, Size: 16592 bytes --]
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.
--
Cheers,
Stephen Rothwell
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
next reply other threads:[~2025-10-30 22:50 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-10-30 22:49 Stephen Rothwell [this message]
2025-10-31 13:42 ` Joel Granados
2025-11-01 11:16 ` Stephen Rothwell
2025-11-02 8:10 ` Joel Granados
-- strict thread matches above, loose matches on Subject: below --
2023-12-06 3:19 Stephen Rothwell
2022-03-30 0:56 Stephen Rothwell
2022-03-30 19:00 ` Luis Chamberlain
2022-04-04 0:26 ` Stephen Rothwell
2022-04-04 1:46 ` Luis Chamberlain
2022-04-04 3:39 ` Stephen Rothwell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251031094958.432f4e44@canb.auug.org.au \
--to=sfr@canb.auug.org.au \
--cc=joel.granados@kernel.org \
--cc=kees@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-next@vger.kernel.org \
--cc=mcgrof@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®