From: kernel test robot <lkp@intel.com>
To: wen.yang@linux.dev
Cc: oe-kbuild-all@lists.linux.dev
Subject: Re: [RFC PATCH 39/39] sysctl: remove the extra pointers and the compatibility bounds read
Date: Wed, 4 Nov 2026 13:17:27 +0800 [thread overview]
Message-ID: <202611041241.bvJjCVUH-lkp@intel.com> (raw)
In-Reply-To: <b6e4cbd509687301a8ee2106f19a3ac01e7671a6.1793204511.git.wen.yang@linux.dev>
Hi,
[This is a private test report for your RFC patch.]
kernel test robot noticed the following build errors:
[auto build test ERROR on akpm-mm/mm-everything]
[cannot apply to sysctl/sysctl-next brauner-vfs/vfs.all linus/master mcgrof/sysctl-next v7.3 next-20261030]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch#_base_tree_information]
url: https://github.com/intel-lab-lkp/linux/commits/wen-yang-linux-dev/sysctl-replace-overloaded-extra-pointers-with-typed-bounds-and-context/20261029-003440
base: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-everything
patch link: https://lore.kernel.org/r/b6e4cbd509687301a8ee2106f19a3ac01e7671a6.1793204511.git.wen.yang%40linux.dev
patch subject: [RFC PATCH 39/39] sysctl: remove the extra pointers and the compatibility bounds read
config: um-i386_defconfig (https://download.01.org/0day-ci/archive/20261104/202611041241.bvJjCVUH-lkp@intel.com/config)
compiler: gcc-14 (Debian 14.2.0-19) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20261104/202611041241.bvJjCVUH-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202611041241.bvJjCVUH-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/unix/sysctl_net_unix.c:23:18: error: 'const struct ctl_table' has no member named 'extra1'
23 | .extra1 = SYSCTL_ZERO,
| ^~~~~~
In file included from net/unix/sysctl_net_unix.c:10:
>> include/linux/sysctl.h:41:41: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
41 | #define SYSCTL_ZERO 0
| ^
net/unix/sysctl_net_unix.c:23:35: note: in expansion of macro 'SYSCTL_ZERO'
23 | .extra1 = SYSCTL_ZERO,
| ^~~~~~~~~~~
include/linux/sysctl.h:41:41: note: (near initialization for 'unix_table[0]')
41 | #define SYSCTL_ZERO 0
| ^
net/unix/sysctl_net_unix.c:23:35: note: in expansion of macro 'SYSCTL_ZERO'
23 | .extra1 = SYSCTL_ZERO,
| ^~~~~~~~~~~
>> net/unix/sysctl_net_unix.c:24:18: error: 'const struct ctl_table' has no member named 'extra2'
24 | .extra2 = SYSCTL_INT_MAX,
| ^~~~~~
In file included from include/linux/limits.h:7,
from include/linux/overflow.h:6,
from include/linux/bits.h:32,
from include/linux/ratelimit_types.h:5,
from include/linux/printk.h:9,
from include/asm-generic/bug.h:31,
from ./arch/um/include/generated/asm/bug.h:1,
from include/linux/bug.h:5,
from include/linux/slab.h:15,
from net/unix/sysctl_net_unix.c:8:
>> include/vdso/limits.h:8:25: error: positional initialization of field in 'struct' declared with 'designated_init' attribute [-Werror=designated-init]
8 | #define INT_MAX ((int)(~0U >> 1))
| ^
include/linux/sysctl.h:50:41: note: in expansion of macro 'INT_MAX'
50 | #define SYSCTL_INT_MAX INT_MAX
| ^~~~~~~
net/unix/sysctl_net_unix.c:24:35: note: in expansion of macro 'SYSCTL_INT_MAX'
24 | .extra2 = SYSCTL_INT_MAX,
| ^~~~~~~~~~~~~~
include/vdso/limits.h:8:25: note: (near initialization for 'unix_table[0]')
8 | #define INT_MAX ((int)(~0U >> 1))
| ^
include/linux/sysctl.h:50:41: note: in expansion of macro 'INT_MAX'
50 | #define SYSCTL_INT_MAX INT_MAX
| ^~~~~~~
net/unix/sysctl_net_unix.c:24:35: note: in expansion of macro 'SYSCTL_INT_MAX'
24 | .extra2 = SYSCTL_INT_MAX,
| ^~~~~~~~~~~~~~
cc1: some warnings being treated as errors
vim +23 net/unix/sysctl_net_unix.c
84960bf2403123 Kuniyuki Iwashima 2025-03-17 15
0abc76bc20826e Joel Granados 2026-08-10 16 static const struct ctl_table unix_table[] = {
^1da177e4c3f41 Linus Torvalds 2005-04-16 17 {
^1da177e4c3f41 Linus Torvalds 2005-04-16 18 .procname = "max_dgram_qlen",
a0a53c8ba95451 Denis V. Lunev 2007-12-11 19 .data = &init_net.unx.sysctl_max_dgram_qlen,
^1da177e4c3f41 Linus Torvalds 2005-04-16 20 .maxlen = sizeof(int),
^1da177e4c3f41 Linus Torvalds 2005-04-16 21 .mode = 0644,
1a4e7bc6e3457a Yingjie Wang 2026-10-16 22 .proc_handler = proc_dointvec_minmax,
1a4e7bc6e3457a Yingjie Wang 2026-10-16 @23 .extra1 = SYSCTL_ZERO,
1a4e7bc6e3457a Yingjie Wang 2026-10-16 @24 .extra2 = SYSCTL_INT_MAX,
^1da177e4c3f41 Linus Torvalds 2005-04-16 25 },
^1da177e4c3f41 Linus Torvalds 2005-04-16 26 };
^1da177e4c3f41 Linus Torvalds 2005-04-16 27
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2026-11-04 5:18 UTC|newest]
Thread overview: 52+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-10-28 16:34 [RFC PATCH 00/39] sysctl: replace overloaded extra pointers with typed bounds and context wen.yang
2026-10-28 16:34 ` [RFC PATCH 01/39] " wen.yang
2026-10-28 21:09 ` David Laight
2026-11-07 17:43 ` Joel Granados
2026-10-28 16:34 ` [RFC PATCH 02/39] test_sysctl: convert bounds to numeric values wen.yang
2026-10-28 16:34 ` [RFC PATCH 03/39] sysctl: add KUnit coverage for numeric bounds and handlers wen.yang
2026-11-04 5:46 ` kernel test robot
2026-10-28 16:34 ` [RFC PATCH 04/39] sysctl: cover runtime ranges and context lifecycles in KUnit wen.yang
2026-10-28 16:34 ` [RFC PATCH 05/39] sysctl: cover priv in KUnit and the debug test module wen.yang
2026-10-28 16:34 ` [RFC PATCH 06/39] sysctl: convert core table bounds to numeric values wen.yang
2026-10-28 16:34 ` [RFC PATCH 07/39] sysctl: store architecture sysctl bounds by value wen.yang
2026-10-28 16:34 ` [RFC PATCH 08/39] sysctl: store crypto " wen.yang
2026-10-28 16:34 ` [RFC PATCH 09/39] sysctl: store device " wen.yang
2026-10-28 16:34 ` [RFC PATCH 10/39] sysctl: store filesystem " wen.yang
2026-10-28 16:34 ` [RFC PATCH 11/39] sysctl: store message-queue " wen.yang
2026-10-28 16:34 ` [RFC PATCH 12/39] sysctl: store kernel " wen.yang
2026-10-28 16:34 ` [RFC PATCH 13/39] sysctl: store memory-management " wen.yang
2026-10-28 16:34 ` [RFC PATCH 14/39] sysctl: store IPv6 scalar " wen.yang
2026-10-28 16:34 ` [RFC PATCH 15/39] sysctl: store netfilter " wen.yang
2026-10-28 16:34 ` [RFC PATCH 16/39] sysctl: store RPC " wen.yang
2026-10-28 16:34 ` [RFC PATCH 17/39] sysctl: store remaining network " wen.yang
2026-10-28 16:34 ` [RFC PATCH 18/39] sysctl: store security " wen.yang
2026-10-28 16:34 ` [RFC PATCH 19/39] io_uring: store its " wen.yang
2026-10-28 16:34 ` [RFC PATCH 20/39] sysctl: refresh dynamic scheduler and PID bounds per call wen.yang
2026-10-28 16:35 ` [RFC PATCH 21/39] sysctl: refresh device-dependent " wen.yang
2026-10-28 16:35 ` [RFC PATCH 22/39] sysctl: refresh namespace IPC " wen.yang
2026-10-28 16:35 ` [RFC PATCH 23/39] yama: preserve scope locking with numeric sysctl bounds wen.yang
2026-10-28 16:35 ` [RFC PATCH 24/39] net: refresh core sysctl limits without bound pointers wen.yang
2026-10-28 16:35 ` [RFC PATCH 25/39] sctp: resolve numeric ranges from the current namespace wen.yang
2026-10-28 16:35 ` [RFC PATCH 26/39] rds: preserve live reconnect limits with numeric bounds wen.yang
2026-10-28 16:35 ` [RFC PATCH 27/39] ipv4: preserve live and vector bounds with numeric sysctls wen.yang
2026-10-28 16:35 ` [RFC PATCH 28/39] net: refresh fragment and remaining dynamic sysctl bounds wen.yang
2026-10-28 16:35 ` [RFC PATCH 29/39] neighbour: derive sysctl ownership independently of bounds wen.yang
2026-10-28 16:35 ` [RFC PATCH 30/39] net: resolve sysctl owners from their backing data wen.yang
2026-10-28 16:35 ` [RFC PATCH 31/39] ipvs: derive sysctl ownership from numeric storage wen.yang
2026-10-28 16:35 ` [RFC PATCH 32/39] sysctl: remove obsolete nr_open bound variables wen.yang
2026-10-28 16:35 ` [RFC PATCH 33/39] ipv6: move address sysctl context to priv wen.yang
2026-10-28 16:35 ` [RFC PATCH 34/39] ipv4: move device " wen.yang
2026-10-28 16:35 ` [RFC PATCH 35/39] netfilter: move logger " wen.yang
2026-10-28 16:35 ` [RFC PATCH 36/39] parport: move device " wen.yang
2026-10-28 16:35 ` [RFC PATCH 37/39] net: move namespace " wen.yang
2026-10-28 16:35 ` [RFC PATCH 38/39] arm64: move vector-length " wen.yang
2026-10-28 16:35 ` [RFC PATCH 39/39] sysctl: remove the extra pointers and the compatibility bounds read wen.yang
2026-11-04 5:17 ` kernel test robot [this message]
2026-11-04 5:45 ` kernel test robot
2026-10-29 10:58 ` [RFC PATCH 00/39] sysctl: replace overloaded extra pointers with typed bounds and context David Laight
2026-11-02 15:40 ` Wen Yang
2026-11-02 16:54 ` David Laight
2026-11-04 18:32 ` Wen Yang
2026-11-07 15:27 ` Joel Granados
2026-11-07 17:05 ` David Laight
2026-11-07 21:26 ` Joel Granados
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=202611041241.bvJjCVUH-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=wen.yang@linux.dev \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.