From: kernel test robot <lkp at intel.com> To: mptcp at lists.01.org Subject: [MPTCP] [mptcp:export 776/783] net/core/sock.c:2489:6: warning: no previous prototype for '__lock_sock' Date: Fri, 20 Nov 2020 02:56:48 +0800 [thread overview] Message-ID: <202011200245.5i4PHk4O-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 1766 bytes --] tree: https://github.com/multipath-tcp/mptcp_net-next.git export head: 502db67b77b326a9be8f3bb3515a09b83a8a1fd4 commit: 91e9b96e7c81bb06efcbd05a454d61c735f8c519 [776/783] mptcp: open code mptcp variant for lock_sock config: x86_64-rhel-8.3 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://github.com/multipath-tcp/mptcp_net-next/commit/91e9b96e7c81bb06efcbd05a454d61c735f8c519 git remote add mptcp https://github.com/multipath-tcp/mptcp_net-next.git git fetch --no-tags mptcp export git checkout 91e9b96e7c81bb06efcbd05a454d61c735f8c519 # save the attached .config to linux build tree make W=1 ARCH=x86_64 If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot <lkp(a)intel.com> All warnings (new ones prefixed by >>): >> net/core/sock.c:2489:6: warning: no previous prototype for '__lock_sock' [-Wmissing-prototypes] 2489 | void __lock_sock(struct sock *sk) | ^~~~~~~~~~~ vim +/__lock_sock +2489 net/core/sock.c 2488 > 2489 void __lock_sock(struct sock *sk) 2490 __releases(&sk->sk_lock.slock) 2491 __acquires(&sk->sk_lock.slock) 2492 { 2493 DEFINE_WAIT(wait); 2494 2495 for (;;) { 2496 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, 2497 TASK_UNINTERRUPTIBLE); 2498 spin_unlock_bh(&sk->sk_lock.slock); 2499 schedule(); 2500 spin_lock_bh(&sk->sk_lock.slock); 2501 if (!sock_owned_by_user(sk)) 2502 break; 2503 } 2504 finish_wait(&sk->sk_lock.wq, &wait); 2505 } 2506 --- 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: 40921 bytes --]
WARNING: multiple messages have this Message-ID (diff)
From: kernel test robot <lkp@intel.com> To: kbuild-all@lists.01.org Subject: [mptcp:export 776/783] net/core/sock.c:2489:6: warning: no previous prototype for '__lock_sock' Date: Fri, 20 Nov 2020 02:56:48 +0800 [thread overview] Message-ID: <202011200245.5i4PHk4O-lkp@intel.com> (raw) [-- Attachment #1: Type: text/plain, Size: 1764 bytes --] tree: https://github.com/multipath-tcp/mptcp_net-next.git export head: 502db67b77b326a9be8f3bb3515a09b83a8a1fd4 commit: 91e9b96e7c81bb06efcbd05a454d61c735f8c519 [776/783] mptcp: open code mptcp variant for lock_sock config: x86_64-rhel-8.3 (attached as .config) compiler: gcc-9 (Debian 9.3.0-15) 9.3.0 reproduce (this is a W=1 build): # https://github.com/multipath-tcp/mptcp_net-next/commit/91e9b96e7c81bb06efcbd05a454d61c735f8c519 git remote add mptcp https://github.com/multipath-tcp/mptcp_net-next.git git fetch --no-tags mptcp export git checkout 91e9b96e7c81bb06efcbd05a454d61c735f8c519 # save the attached .config to linux build tree make W=1 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/sock.c:2489:6: warning: no previous prototype for '__lock_sock' [-Wmissing-prototypes] 2489 | void __lock_sock(struct sock *sk) | ^~~~~~~~~~~ vim +/__lock_sock +2489 net/core/sock.c 2488 > 2489 void __lock_sock(struct sock *sk) 2490 __releases(&sk->sk_lock.slock) 2491 __acquires(&sk->sk_lock.slock) 2492 { 2493 DEFINE_WAIT(wait); 2494 2495 for (;;) { 2496 prepare_to_wait_exclusive(&sk->sk_lock.wq, &wait, 2497 TASK_UNINTERRUPTIBLE); 2498 spin_unlock_bh(&sk->sk_lock.slock); 2499 schedule(); 2500 spin_lock_bh(&sk->sk_lock.slock); 2501 if (!sock_owned_by_user(sk)) 2502 break; 2503 } 2504 finish_wait(&sk->sk_lock.wq, &wait); 2505 } 2506 --- 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: 40921 bytes --]
next reply other threads:[~2020-11-19 18:56 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-11-19 18:56 kernel test robot [this message] 2020-11-19 18:56 ` [mptcp:export 776/783] net/core/sock.c:2489:6: warning: no previous prototype for '__lock_sock' kernel test robot 2020-11-19 23:23 [MPTCP] " kernel test robot
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=202011200245.5i4PHk4O-lkp@intel.com \ --to=unknown@example.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: linkBe 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.