From: kernel test robot <lkp@intel.com>
To: Geliang Tang <geliang@kernel.org>, mptcp@lists.linux.dev
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev,
Geliang Tang <tanggeliang@kylinos.cn>
Subject: Re: [PATCH mptcp-next 3/3] mptcp: add IPV6_UNICAST_HOPS sockopt support
Date: Sun, 3 Aug 2025 10:20:12 +0800 [thread overview]
Message-ID: <202508030946.WcaovHBw-lkp@intel.com> (raw)
In-Reply-To: <0fd13a7bb3ca420a1e68f49fe93e7baada72890b.1754126092.git.tanggeliang@kylinos.cn>
Hi Geliang,
kernel test robot noticed the following build errors:
[auto build test ERROR on mptcp/export]
[also build test ERROR on mptcp/export-net linus/master v6.16 next-20250801]
[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/Geliang-Tang/mptcp-add-IPV6_TCLASS-sockopt-support/20250802-212226
base: https://github.com/multipath-tcp/mptcp_net-next.git export
patch link: https://lore.kernel.org/r/0fd13a7bb3ca420a1e68f49fe93e7baada72890b.1754126092.git.tanggeliang%40kylinos.cn
patch subject: [PATCH mptcp-next 3/3] mptcp: add IPV6_UNICAST_HOPS sockopt support
config: x86_64-buildonly-randconfig-006-20250803 (https://download.01.org/0day-ci/archive/20250803/202508030946.WcaovHBw-lkp@intel.com/config)
compiler: clang version 20.1.8 (https://github.com/llvm/llvm-project 87f0227cb60147a26a1eeb4fb06e3b505e9c7261)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250803/202508030946.WcaovHBw-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/202508030946.WcaovHBw-lkp@intel.com/
All errors (new ones prefixed by >>):
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:533:10: note: expanded from macro '__native_word'
533 | (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
| ^
include/linux/compiler_types.h:572:22: note: expanded from macro 'compiletime_assert'
572 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:560:23: note: expanded from macro '_compiletime_assert'
560 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:552:9: note: expanded from macro '__compiletime_assert'
552 | if (!(condition)) \
| ^~~~~~~~~
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:533:39: note: expanded from macro '__native_word'
533 | (sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
| ^
include/linux/compiler_types.h:572:22: note: expanded from macro 'compiletime_assert'
572 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:560:23: note: expanded from macro '_compiletime_assert'
560 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:552:9: note: expanded from macro '__compiletime_assert'
552 | if (!(condition)) \
| ^~~~~~~~~
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:534:10: note: expanded from macro '__native_word'
534 | sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
| ^
include/linux/compiler_types.h:572:22: note: expanded from macro 'compiletime_assert'
572 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:560:23: note: expanded from macro '_compiletime_assert'
560 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:552:9: note: expanded from macro '__compiletime_assert'
552 | if (!(condition)) \
| ^~~~~~~~~
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:35: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:534:38: note: expanded from macro '__native_word'
534 | sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
| ^
include/linux/compiler_types.h:572:22: note: expanded from macro 'compiletime_assert'
572 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:560:23: note: expanded from macro '_compiletime_assert'
560 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:552:9: note: expanded from macro '__compiletime_assert'
552 | if (!(condition)) \
| ^~~~~~~~~
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
49 | compiletime_assert_rwonce_type(x); \
| ^
include/asm-generic/rwonce.h:36:48: note: expanded from macro 'compiletime_assert_rwonce_type'
36 | compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
| ^
include/linux/compiler_types.h:572:22: note: expanded from macro 'compiletime_assert'
572 | _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
| ^~~~~~~~~
include/linux/compiler_types.h:560:23: note: expanded from macro '_compiletime_assert'
560 | __compiletime_assert(condition, msg, prefix, suffix)
| ^~~~~~~~~
include/linux/compiler_types.h:552:9: note: expanded from macro '__compiletime_assert'
552 | if (!(condition)) \
| ^~~~~~~~~
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
50 | __READ_ONCE(x); \
| ^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
| ^
include/linux/compiler_types.h:522:13: note: expanded from macro '__unqual_scalar_typeof'
522 | _Generic((x), \
| ^
>> net/mptcp/sockopt.c:1581:34: error: no member named 'ipv6' in 'struct net'
1581 | val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
| ~~~~~~~~~~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
50 | __READ_ONCE(x); \
| ^
include/asm-generic/rwonce.h:44:72: note: expanded from macro '__READ_ONCE'
44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
| ^
7 errors generated.
vim +1581 net/mptcp/sockopt.c
1558
1559 static int mptcp_getsockopt_v6(struct mptcp_sock *msk, int optname,
1560 char __user *optval, int __user *optlen)
1561 {
1562 struct sock *sk = (void *)msk;
1563 int val;
1564
1565 switch (optname) {
1566 case IPV6_V6ONLY:
1567 return mptcp_put_int_option(msk, optval, optlen,
1568 sk->sk_ipv6only);
1569 case IPV6_TRANSPARENT:
1570 return mptcp_put_int_option(msk, optval, optlen,
1571 inet_test_bit(TRANSPARENT, sk));
1572 case IPV6_FREEBIND:
1573 return mptcp_put_int_option(msk, optval, optlen,
1574 inet_test_bit(FREEBIND, sk));
1575 case IPV6_TCLASS:
1576 return mptcp_put_int_option(msk, optval, optlen,
1577 inet6_sk(sk)->tclass);
1578 case IPV6_UNICAST_HOPS:
1579 val = READ_ONCE(inet6_sk(sk)->hop_limit);
1580 if (val < 0)
> 1581 val = READ_ONCE(sock_net(sk)->ipv6.devconf_all->hop_limit);
1582 return mptcp_put_int_option(msk, optval, optlen, val);
1583 }
1584
1585 return -EOPNOTSUPP;
1586 }
1587
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
next prev parent reply other threads:[~2025-08-03 2:21 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-08-02 9:19 [PATCH mptcp-next 0/3] mptcp: add more sockopts Geliang Tang
2025-08-02 9:19 ` [PATCH mptcp-next 1/3] mptcp: add IPV6_TCLASS sockopt support Geliang Tang
2025-08-02 9:19 ` [PATCH mptcp-next 2/3] mptcp: add IP_TTL " Geliang Tang
2025-08-02 9:19 ` [PATCH mptcp-next 3/3] mptcp: add IPV6_UNICAST_HOPS " Geliang Tang
2025-08-03 2:20 ` kernel test robot [this message]
2025-08-03 7:35 ` [PATCH mptcp-next 0/3] mptcp: add more sockopts MPTCP CI
2025-08-03 9:20 ` MPTCP CI
2025-08-03 11:34 ` Matthieu Baerts
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=202508030946.WcaovHBw-lkp@intel.com \
--to=lkp@intel.com \
--cc=geliang@kernel.org \
--cc=llvm@lists.linux.dev \
--cc=mptcp@lists.linux.dev \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=tanggeliang@kylinos.cn \
/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.