MPTCP Linux Development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Paolo Abeni <pabeni@redhat.com>
Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, mptcp@lists.linux.dev
Subject: [mptcp:export 13/25] drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h:583:6: error: conflicting types for 'skb_entail'
Date: Thu, 9 Sep 2021 03:09:07 +0800	[thread overview]
Message-ID: <202109090356.dBZZuJwn-lkp@intel.com> (raw)

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

tree:   https://github.com/multipath-tcp/mptcp_net-next.git export
head:   9c7d1b9a14eba479466423d64f99c8a4e29b66f4
commit: 3029b888667aec61d0f8f75c0e33d9dfa40716fa [13/25] tcp: expose the tcp_mark_push() and skb_entail() helpers
config: x86_64-randconfig-a016-20210908 (attached as .config)
compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9c476172b93367d2cb88d7d3f4b1b5b456fa6020)
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://github.com/multipath-tcp/mptcp_net-next/commit/3029b888667aec61d0f8f75c0e33d9dfa40716fa
        git remote add mptcp https://github.com/multipath-tcp/mptcp_net-next.git
        git fetch --no-tags mptcp export
        git checkout 3029b888667aec61d0f8f75c0e33d9dfa40716fa
        # save the attached .config to linux build tree
        mkdir build_dir
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross O=build_dir ARCH=x86_64 SHELL=/bin/bash drivers/net/ethernet/

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 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_main.c:21:
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h:583:6: error: conflicting types for 'skb_entail'
   void skb_entail(struct sock *sk, struct sk_buff *skb, int flags);
        ^
   include/net/tcp.h:584:6: note: previous declaration is here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
   1 error generated.
--
   In file included from drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:32:
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h:583:6: error: conflicting types for 'skb_entail'
   void skb_entail(struct sock *sk, struct sk_buff *skb, int flags);
        ^
   include/net/tcp.h:584:6: note: previous declaration is here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_cm.c:320:22: error: too many arguments to function call, expected 2, have 3
           skb_entail(sk, skb, ULPCB_FLAG_NO_HDR | ULPCB_FLAG_NO_APPEND);
           ~~~~~~~~~~          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/net/tcp.h:584:6: note: 'skb_entail' declared here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
   2 errors generated.
--
   In file included from drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:22:
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h:583:6: error: conflicting types for 'skb_entail'
   void skb_entail(struct sock *sk, struct sk_buff *skb, int flags);
        ^
   include/net/tcp.h:584:6: note: previous declaration is here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:123:7: error: too many arguments to function call, expected 2, have 3
                              ULPCB_FLAG_NO_HDR | ULPCB_FLAG_NO_APPEND);
                              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   include/net/tcp.h:584:6: note: 'skb_entail' declared here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
>> drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:819:6: error: conflicting types for 'skb_entail'
   void skb_entail(struct sock *sk, struct sk_buff *skb, int flags)
        ^
   include/net/tcp.h:584:6: note: previous declaration is here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
   drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:843:23: error: too many arguments to function call, expected 2, have 3
                   skb_entail(sk, skb, ULPCB_FLAG_NEED_HDR);
                   ~~~~~~~~~~          ^~~~~~~~~~~~~~~~~~~
   include/net/tcp.h:584:6: note: 'skb_entail' declared here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
   drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls_io.c:860:23: error: too many arguments to function call, expected 2, have 3
                   skb_entail(sk, skb, ULPCB_FLAG_NEED_HDR);
                   ~~~~~~~~~~          ^~~~~~~~~~~~~~~~~~~
   include/net/tcp.h:584:6: note: 'skb_entail' declared here
   void skb_entail(struct sock *sk, struct sk_buff *skb);
        ^
   5 errors generated.


vim +/skb_entail +583 drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h

a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  557  
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  558  typedef int (*chtls_handler_func)(struct chtls_dev *, struct sk_buff *);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  559  extern chtls_handler_func chtls_handlers[NUM_CPL_CMDS];
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  560  void chtls_install_cpl_ops(struct sock *sk);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  561  int chtls_init_kmap(struct chtls_dev *cdev, struct cxgb4_lld_info *lldi);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  562  void chtls_listen_stop(struct chtls_dev *cdev, struct sock *sk);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  563  int chtls_listen_start(struct chtls_dev *cdev, struct sock *sk);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  564  void chtls_close(struct sock *sk, long timeout);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  565  int chtls_disconnect(struct sock *sk, int flags);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  566  void chtls_shutdown(struct sock *sk, int how);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  567  void chtls_destroy_sock(struct sock *sk);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  568  int chtls_sendmsg(struct sock *sk, struct msghdr *msg, size_t size);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  569  int chtls_recvmsg(struct sock *sk, struct msghdr *msg,
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  570  		  size_t len, int nonblock, int flags, int *addr_len);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  571  int chtls_sendpage(struct sock *sk, struct page *page,
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  572  		   int offset, size_t size, int flags);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  573  int send_tx_flowc_wr(struct sock *sk, int compl,
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  574  		     u32 snd_nxt, u32 rcv_nxt);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  575  void chtls_tcp_push(struct sock *sk, int flags);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  576  int chtls_push_frames(struct chtls_sock *csk, int comp);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31  577  int chtls_set_tcb_tflag(struct sock *sk, unsigned int bit_pos, int val);
8ad2a970d2010a drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h Ayush Sawal       2021-01-12  578  void chtls_set_tcb_field_rpl_skb(struct sock *sk, u16 word,
8ad2a970d2010a drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h Ayush Sawal       2021-01-12  579  				 u64 mask, u64 val, u8 cookie,
8ad2a970d2010a drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h Ayush Sawal       2021-01-12  580  				 int through_l2t);
596d0a289554a6 drivers/crypto/chelsio/chtls/chtls.h                     Vinay Kumar Yadav 2019-12-19  581  int chtls_setkey(struct chtls_sock *csk, u32 keylen, u32 mode, int cipher_type);
8ad2a970d2010a drivers/net/ethernet/chelsio/inline_crypto/chtls/chtls.h Ayush Sawal       2021-01-12  582  void chtls_set_quiesce_ctrl(struct sock *sk, int val);
a6779341a173aa drivers/crypto/chelsio/chtls/chtls.h                     Atul Gupta        2018-03-31 @583  void skb_entail(struct sock *sk, struct sk_buff *skb, int flags);

:::::: The code at line 583 was first introduced by commit
:::::: a6779341a173aa8cedb5985e0c21c5d7c94c270a crypto: chtls - structure and macro for Inline TLS

:::::: TO: Atul Gupta <atul.gupta@chelsio.com>
:::::: CC: David S. Miller <davem@davemloft.net>

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

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

                 reply	other threads:[~2021-09-08 19:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=202109090356.dBZZuJwn-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=kbuild-all@lists.01.org \
    --cc=llvm@lists.linux.dev \
    --cc=mptcp@lists.linux.dev \
    --cc=pabeni@redhat.com \
    /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