All of lore.kernel.org
 help / color / mirror / Atom feed
* [sashal-linux-stable:queue-5.10 42/74] net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
@ 2021-03-18  2:52 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-18  2:52 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 27759 bytes --]

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: parisc-randconfig-r004-20210318 (attached as .config)
compiler: hppa-linux-gcc (GCC) 9.3.0
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
        # https://git.kernel.org/pub/scm/linux/kernel/git/sashal/linux-stable.git/commit/?id=5dafb6beb289db849750d4a6f390e1a2bc2a85f6
        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=gcc-9.3.0 make.cross ARCH=parisc 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

   In file included from <command-line>:
   net/mptcp/protocol.h: In function 'mptcp_data_fin_enabled':
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:266:13: note: in definition of macro '__unqual_scalar_typeof'
     266 |   _Generic((x),      \
         |             ^
   include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE'
      50 |  __READ_ONCE(x);       \
         |  ^~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
   In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
                    from include/linux/compiler.h:246,
                    from include/linux/kernel.h:11,
                    from net/mptcp/mptcp_diag.c:9:
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/asm-generic/rwonce.h:44:72: note: in definition of macro '__READ_ONCE'
      44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
         |                                                                        ^
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
--
   In file included from <command-line>:
   net/mptcp/protocol.h: In function 'mptcp_data_fin_enabled':
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:49:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      49 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/linux/compiler_types.h:266:13: note: in definition of macro '__unqual_scalar_typeof'
     266 |   _Generic((x),      \
         |             ^
   include/asm-generic/rwonce.h:50:2: note: in expansion of macro '__READ_ONCE'
      50 |  __READ_ONCE(x);       \
         |  ^~~~~~~~~~~
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
   In file included from ./arch/parisc/include/generated/asm/rwonce.h:1,
                    from include/linux/compiler.h:246,
                    from include/linux/kernel.h:11,
                    from net/mptcp/protocol.c:9:
>> net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                                   ^~
   include/asm-generic/rwonce.h:44:72: note: in definition of macro '__READ_ONCE'
      44 | #define __READ_ONCE(x) (*(const volatile __unqual_scalar_typeof(x) *)&(x))
         |                                                                        ^
   net/mptcp/protocol.h:417:38: note: in expansion of macro 'READ_ONCE'
     417 |         READ_ONCE(msk->write_seq) == READ_ONCE(msk->snd_nxt);
         |                                      ^~~~~~~~~
   net/mptcp/protocol.c: In function 'mptcp_timeout_timer':
>> net/mptcp/protocol.c:1667:2: error: implicit declaration of function 'mptcp_schedule_work'; did you mean 'kblockd_schedule_work'? [-Werror=implicit-function-declaration]
    1667 |  mptcp_schedule_work(sk);
         |  ^~~~~~~~~~~~~~~~~~~
         |  kblockd_schedule_work
   net/mptcp/protocol.c: In function '__mptcp_close_ssk':
>> net/mptcp/protocol.c:1746:3: error: implicit declaration of function '__tcp_close'; did you mean 'tcp_close'? [-Werror=implicit-function-declaration]
    1746 |   __tcp_close(ssk, 0);
         |   ^~~~~~~~~~~
         |   tcp_close
   In file included from include/linux/kernel.h:16,
                    from net/mptcp/protocol.c:9:
   net/mptcp/protocol.c: In function '__mptcp_check_send_data_fin':
>> net/mptcp/protocol.c:2058:37: error: implicit declaration of function 'mptcp_send_head'; did you mean 'tcp_send_head'? [-Werror=implicit-function-declaration]
    2058 |    msk, msk->snd_data_fin_enable, !!mptcp_send_head(sk),
         |                                     ^~~~~~~~~~~~~~~
   include/linux/printk.h:140:17: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |                 ^~~~~~~~~~~
   net/mptcp/protocol.c:2057:2: note: in expansion of macro 'pr_debug'
    2057 |  pr_debug("msk=%p snd_data_fin_enable=%d pending=%d snd_nxt=%llu write_seq=%llu",
         |  ^~~~~~~~
>> net/mptcp/protocol.c:2059:7: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2059 |    msk->snd_nxt, msk->write_seq);
         |       ^~
   include/linux/printk.h:140:17: note: in definition of macro 'no_printk'
     140 |   printk(fmt, ##__VA_ARGS__);  \
         |                 ^~~~~~~~~~~
   net/mptcp/protocol.c:2057:2: note: in expansion of macro 'pr_debug'
    2057 |  pr_debug("msk=%p snd_data_fin_enable=%d pending=%d snd_nxt=%llu write_seq=%llu",
         |  ^~~~~~~~
   net/mptcp/protocol.c:2064:38: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2064 |  if (!msk->snd_data_fin_enable || msk->snd_nxt + 1 != msk->write_seq ||
         |                                      ^~
   In file included from <command-line>:
   net/mptcp/protocol.c:2068:16: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |                ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:60:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      60 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.c:2068:2: note: in expansion of macro 'WRITE_ONCE'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |  ^~~~~~~~~~
   net/mptcp/protocol.c:2068:16: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |                ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:60:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      60 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.c:2068:2: note: in expansion of macro 'WRITE_ONCE'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |  ^~~~~~~~~~
   net/mptcp/protocol.c:2068:16: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |                ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:60:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      60 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.c:2068:2: note: in expansion of macro 'WRITE_ONCE'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |  ^~~~~~~~~~
   net/mptcp/protocol.c:2068:16: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |                ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
     295 |   if (!(condition))     \
         |         ^~~~~~~~~
   include/linux/compiler_types.h:315:2: note: in expansion of macro '_compiletime_assert'
     315 |  _compiletime_assert(condition, msg, __compiletime_assert_, __COUNTER__)
         |  ^~~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:2: note: in expansion of macro 'compiletime_assert'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |  ^~~~~~~~~~~~~~~~~~
   include/asm-generic/rwonce.h:36:21: note: in expansion of macro '__native_word'
      36 |  compiletime_assert(__native_word(t) || sizeof(t) == sizeof(long long), \
         |                     ^~~~~~~~~~~~~
   include/asm-generic/rwonce.h:60:2: note: in expansion of macro 'compiletime_assert_rwonce_type'
      60 |  compiletime_assert_rwonce_type(x);    \
         |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   net/mptcp/protocol.c:2068:2: note: in expansion of macro 'WRITE_ONCE'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |  ^~~~~~~~~~
   net/mptcp/protocol.c:2068:16: error: 'struct mptcp_sock' has no member named 'snd_nxt'
    2068 |  WRITE_ONCE(msk->snd_nxt, msk->write_seq);
         |                ^~
   include/linux/compiler_types.h:295:9: note: in definition of macro '__compiletime_assert'
..


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(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 32892 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-03-18  2:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-18  2:52 [sashal-linux-stable:queue-5.10 42/74] net/mptcp/protocol.h:417:51: error: 'const struct mptcp_sock' has no member named 'snd_nxt' kernel test robot

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.