tree:
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
queue-5.10
head: 9ced6633127bd25a94939777d9ecda54800859fc
commit: 5dafb6beb289db849750d4a6f390e1a2bc2a85f6 [42/74] mptcp: refactor shutdown and
close
config: x86_64-randconfig-a004-20210318 (attached as .config)
compiler: clang version 13.0.0 (
https://github.com/llvm/llvm-project
6db3ab2903f42712f44000afb5aa467efbd25f35)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install x86_64 cross compiling tool for clang build
# apt-get install binutils-x86-64-linux-gnu
#
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/c...
git remote add sashal-linux-stable
https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git
git fetch --no-tags sashal-linux-stable queue-5.10
git checkout 5dafb6beb289db849750d4a6f390e1a2bc2a85f6
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All errors (new ones prefixed by >>):
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:277:10: note: expanded from macro
'__native_word'
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:277:39: note: expanded from macro
'__native_word'
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:278:10: note: expanded from macro
'__native_word'
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:278:38: note: expanded from macro
'__native_word'
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:48: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
__READ_ONCE(x); \
^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
#define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
^
include/linux/compiler_types.h:266:13: note: expanded from macro
'__unqual_scalar_typeof'
_Generic((x), \
^
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
__READ_ONCE(x); \
^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
#define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
^
include/linux/compiler_types.h:273:15: note: expanded from macro
'__unqual_scalar_typeof'
default: (x)))
^
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
__READ_ONCE(x); \
^
include/asm-generic/rwonce.h:44:72: note: expanded from macro '__READ_ONCE'
#define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
^
In file included from net/mptcp/mptcp_diag.c:14:
> net/mptcp/protocol.h:417:35: error: invalid operands to binary
expression ('typeof (_Generic((msk->write_seq), char: (char)0, unsigned char:
(unsigned char)0, signed char: (signed char)0, unsigned short: (unsigned short)0, short:
(short)0, unsigned int: (unsigned int)0, int: (int)0, unsigned long: (unsigned long)0,
long: (long)0, unsigned long long: (unsigned long long)0, long long: (long long)0,
default: (msk->write_seq)))' (aka 'unsigned long long') and 'void')
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
9 errors generated.
--
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:277:10: note: expanded from macro
'__native_word'
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:277:39: note: expanded from macro
'__native_word'
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:278:10: note: expanded from macro
'__native_word'
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:278:38: note: expanded from macro
'__native_word'
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:49:33: note: expanded from macro 'READ_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:48: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
__READ_ONCE(x); \
^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
#define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
^
include/linux/compiler_types.h:266:13: note: expanded from macro
'__unqual_scalar_typeof'
_Generic((x), \
^
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
__READ_ONCE(x); \
^
include/asm-generic/rwonce.h:44:65: note: expanded from macro '__READ_ONCE'
#define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
^
include/linux/compiler_types.h:273:15: note: expanded from macro
'__unqual_scalar_typeof'
default: (x)))
^
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:53: error: no member named
'snd_nxt' in 'struct mptcp_sock'
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~ ^
include/asm-generic/rwonce.h:50:14: note: expanded from macro 'READ_ONCE'
__READ_ONCE(x); \
^
include/asm-generic/rwonce.h:44:72: note: expanded from macro '__READ_ONCE'
#define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
^
In file included from net/mptcp/protocol.c:25:
> net/mptcp/protocol.h:417:35: error: invalid operands to binary
expression ('typeof (_Generic((msk->write_seq), char: (char)0, unsigned char:
(unsigned char)0, signed char: (signed char)0, unsigned short: (unsigned short)0, short:
(short)0, unsigned int: (unsigned int)0, int: (int)0, unsigned long: (unsigned long)0,
long: (long)0, unsigned long long: (unsigned long long)0, long long: (long long)0,
default: (msk->write_seq)))' (aka 'unsigned long long') and 'void')
READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~
> net/mptcp/protocol.c:1667:2: error: implicit declaration of
function 'mptcp_schedule_work' [-Werror,-Wimplicit-function-declaration]
mptcp_schedule_work(sk);
^
> net/mptcp/protocol.c:1746:3: error: implicit declaration of
function '__tcp_close' [-Werror,-Wimplicit-function-declaration]
__tcp_close(ssk, 0);
^
net/mptcp/protocol.c:1746:3: note: did you mean 'tcp_close'?
include/net/tcp.h:395:6: note: 'tcp_close' declared here
void tcp_close(struct sock *sk, long timeout);
^
> net/mptcp/protocol.c:2058:37: error: implicit declaration of
function 'mptcp_send_head' [-Werror,-Wimplicit-function-declaration]
msk, msk->snd_data_fin_enable, !!mptcp_send_head(sk),
^
net/mptcp/protocol.c:2058:37: note: did you mean 'tcp_send_head'?
include/net/tcp.h:1788:31: note: 'tcp_send_head' declared here
static inline struct sk_buff *tcp_send_head(const struct sock *sk)
^
> net/mptcp/protocol.c:2059:9: error: no member named
'snd_nxt' in 'struct mptcp_sock'
msk->snd_nxt, msk->write_seq);
~~~ ^
include/linux/printk.h:430:38: note: expanded from macro 'pr_debug'
no_printk(KERN_DEBUG pr_fmt(fmt), ##__VA_ARGS__)
^~~~~~~~~~~
include/linux/printk.h:140:17: note: expanded from macro 'no_printk'
printk(fmt, ##__VA_ARGS__); \
^~~~~~~~~~~
net/mptcp/protocol.c:2064:40: error: no member named 'snd_nxt' in 'struct
mptcp_sock'
if (!msk->snd_data_fin_enable || msk->snd_nxt + 1 != msk->write_seq
||
~~~ ^
net/mptcp/protocol.c:2065:6: error: implicit declaration of function
'mptcp_send_head' [-Werror,-Wimplicit-function-declaration]
mptcp_send_head(sk))
^
net/mptcp/protocol.c:2068:18: error: no member named 'snd_nxt' in 'struct
mptcp_sock'
WRITE_ONCE(msk->snd_nxt, msk->write_seq);
~~~ ^
include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:277:10: note: expanded from macro
'__native_word'
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
net/mptcp/protocol.c:2068:18: error: no member named 'snd_nxt' in 'struct
mptcp_sock'
WRITE_ONCE(msk->snd_nxt, msk->write_seq);
~~~ ^
include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:277:39: note: expanded from macro
'__native_word'
(sizeof(t) == sizeof(char) || sizeof(t) == sizeof(short) || \
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
net/mptcp/protocol.c:2068:18: error: no member named 'snd_nxt' in 'struct
mptcp_sock'
WRITE_ONCE(msk->snd_nxt, msk->write_seq);
~~~ ^
include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:278:10: note: expanded from macro
'__native_word'
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
net/mptcp/protocol.c:2068:18: error: no member named 'snd_nxt' in 'struct
mptcp_sock'
WRITE_ONCE(msk->snd_nxt, msk->write_seq);
~~~ ^
include/asm-generic/rwonce.h:60:33: note: expanded from macro 'WRITE_ONCE'
compiletime_assert_rwonce_type(x); \
^
include/asm-generic/rwonce.h:36:35: note: expanded from macro
'compiletime_assert_rwonce_type'
compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
^
include/linux/compiler_types.h:278:38: note: expanded from macro
'__native_word'
sizeof(t) == sizeof(int) || sizeof(t) == sizeof(long))
^
include/linux/compiler_types.h:315:22: note: expanded from macro
'compiletime_assert'
_compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
^~~~~~~~~
include/linux/compiler_types.h:303:23: note: expanded from macro
'_compiletime_assert'
__compiletime_assert(condition, msg, prefix, suffix)
^~~~~~~~~
include/linux/compiler_types.h:295:9: note: expanded from macro
'__compiletime_assert'
if (!(condition)) \
^~~~~~~~~
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
vim +417 net/mptcp/protocol.h
395
396 struct sock *mptcp_sk_clone(const struct sock *sk,
397 const struct mptcp_options_received *mp_opt,
398 struct request_sock *req);
399 void mptcp_get_options(const struct sk_buff *skb,
400 struct mptcp_options_received *mp_opt);
401
402 void mptcp_finish_connect(struct sock *sk);
403 static inline bool mptcp_is_fully_established(struct sock *sk)
404 {
405 return inet_sk_state_load(sk) == TCP_ESTABLISHED &&
406 READ_ONCE(mptcp_sk(sk)->fully_established);
407 }
408 void mptcp_rcv_space_init(struct mptcp_sock *msk, const struct sock *ssk);
409 void mptcp_data_ready(struct sock *sk, struct sock *ssk);
410 bool mptcp_finish_join(struct sock *sk);
411 void mptcp_data_acked(struct sock *sk);
412 void mptcp_subflow_eof(struct sock *sk);
413 bool mptcp_update_rcv_data_fin(struct mptcp_sock *msk, u64 data_fin_seq, bool
use_64bit);
414 static inline bool mptcp_data_fin_enabled(const struct mptcp_sock *msk)
415 {
416 return READ_ONCE(msk->snd_data_fin_enable) &&
417 READ_ONCE(msk->write_seq) ==
READ_ONCE(msk->snd_nxt);
418 }
419
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org