All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [congwang:sockmap-lock 5/5] net/core/skbuff.c:2611:5: warning: no previous prototype for function 'skb_send_sock'
@ 2021-03-10  2:51 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-03-10  2:51 UTC (permalink / raw
  To: kbuild-all

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

tree:   https://github.com/congwang/linux.git sockmap-lock
head:   551798d69f730a6ceac704e5c13df8e8a0e88685
commit: 551798d69f730a6ceac704e5c13df8e8a0e88685 [5/5] net: remove skb_send_sock_locked()
config: x86_64-randconfig-a006-20210309 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project cd9a69289c7825d54450cb6829fef2c8e0f1963a)
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://github.com/congwang/linux/commit/551798d69f730a6ceac704e5c13df8e8a0e88685
        git remote add congwang https://github.com/congwang/linux.git
        git fetch --no-tags congwang sockmap-lock
        git checkout 551798d69f730a6ceac704e5c13df8e8a0e88685
        # 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@intel.com>

All warnings (new ones prefixed by >>):

>> net/core/skbuff.c:2611:5: warning: no previous prototype for function 'skb_send_sock' [-Wmissing-prototypes]
   int skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len)
       ^
   net/core/skbuff.c:2611:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
   int skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len)
   ^
   static 
   1 warning generated.


vim +/skb_send_sock +2611 net/core/skbuff.c

f7c687a4b2bc9e Cong Wang 2021-03-09  2609  
f7c687a4b2bc9e Cong Wang 2021-03-09  2610  /* Send skb data on a socket. Socket must be unlocked. */
f7c687a4b2bc9e Cong Wang 2021-03-09 @2611  int skb_send_sock(struct sock *sk, struct sk_buff *skb, int offset, int len)
f7c687a4b2bc9e Cong Wang 2021-03-09  2612  {
f7c687a4b2bc9e Cong Wang 2021-03-09  2613  	return __skb_send_sock(sk, skb, offset, len, sendmsg_unlocked,
f7c687a4b2bc9e Cong Wang 2021-03-09  2614  			       sendpage_unlocked);
f7c687a4b2bc9e Cong Wang 2021-03-09  2615  }
f7c687a4b2bc9e Cong Wang 2021-03-09  2616  

:::::: The code at line 2611 was first introduced by commit
:::::: f7c687a4b2bc9ea20381ca5312fab026017f581c skmsg: introduce skb_send_sock()

:::::: TO: Cong Wang <cong.wang@bytedance.com>
:::::: CC: Cong Wang <cong.wang@bytedance.com>

---
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: 32897 bytes --]

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

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

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-10  2:51 [congwang:sockmap-lock 5/5] net/core/skbuff.c:2611:5: warning: no previous prototype for function 'skb_send_sock' 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.