From: kernel test robot <lkp@intel.com>
To: Hoang Huu Le <hoang.h.le@dektech.com.au>,
jmaloy@redhat.com, maloy@donjonn.com, ying.xue@windriver.com,
tipc-discussion@lists.sourceforge.net, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com
Subject: Re: [net-next] tipc: update a binding service via broadcast
Date: Sun, 7 Jun 2020 14:22:56 +0800 [thread overview]
Message-ID: <202006071433.ie0KjnSJ%lkp@intel.com> (raw)
In-Reply-To: <20200607042443.11104-1-hoang.h.le@dektech.com.au>
[-- Attachment #1: Type: text/plain, Size: 2804 bytes --]
Hi Hoang,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net-next/master]
[also build test WARNING on linus/master next-20200605]
[cannot apply to v5.7]
[if your patch is applied to the wrong git tree, please drop us a note to help
improve the system. BTW, we also suggest to use '--base' option to specify the
base tree in git format-patch, please see https://stackoverflow.com/a/37406982]
url: https://github.com/0day-ci/linux/commits/Hoang-Huu-Le/tipc-update-a-binding-service-via-broadcast/20200607-122712
base: https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git cb8e59cc87201af93dfbb6c3dccc8fcad72a09c2
config: x86_64-randconfig-r022-20200607 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project e429cffd4f228f70c1d9df0e5d77c08590dd9766)
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
# 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 >>, old ones prefixed by <<):
>> net/tipc/name_distr.c:323:17: warning: no previous prototype for function 'tipc_named_dequeue' [-Wmissing-prototypes]
struct sk_buff *tipc_named_dequeue(struct sk_buff_head *namedq,
^
net/tipc/name_distr.c:323:1: note: declare 'static' if the function is not intended to be used outside of this translation unit
struct sk_buff *tipc_named_dequeue(struct sk_buff_head *namedq,
^
static
1 warning generated.
vim +/tipc_named_dequeue +323 net/tipc/name_distr.c
322
> 323 struct sk_buff *tipc_named_dequeue(struct sk_buff_head *namedq,
324 u16 *rcv_nxt, bool *open)
325 {
326 struct sk_buff *skb, *tmp;
327 struct tipc_msg *hdr;
328 u16 seqno;
329
330 skb_queue_walk_safe(namedq, skb, tmp) {
331 skb_linearize(skb);
332 hdr = buf_msg(skb);
333 seqno = msg_named_seqno(hdr);
334 if (msg_is_last_bulk(hdr)) {
335 *rcv_nxt = seqno;
336 *open = true;
337 }
338 if (msg_is_bulk(hdr) || msg_is_legacy(hdr)) {
339 __skb_unlink(skb, namedq);
340 return skb;
341 }
342
343 if (*open && (*rcv_nxt == seqno)) {
344 (*rcv_nxt)++;
345 __skb_unlink(skb, namedq);
346 return skb;
347 }
348 }
349 return NULL;
350 }
351
---
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: 30659 bytes --]
next prev parent reply other threads:[~2020-06-07 6:25 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-07 4:24 [net-next] tipc: update a binding service via broadcast Hoang Huu Le
2020-06-07 5:38 ` kernel test robot
2020-06-07 6:22 ` kernel test robot [this message]
2020-06-07 8:18 ` kernel test robot
2020-06-07 8:18 ` [RFC PATCH] tipc: tipc_named_dequeue() can be static kernel test robot
2020-06-07 19:03 ` [net-next] tipc: update a binding service via broadcast Jon Maloy
2020-06-07 23:56 ` David Miller
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=202006071433.ie0KjnSJ%lkp@intel.com \
--to=lkp@intel.com \
--cc=clang-built-linux@googlegroups.com \
--cc=hoang.h.le@dektech.com.au \
--cc=jmaloy@redhat.com \
--cc=kbuild-all@lists.01.org \
--cc=maloy@donjonn.com \
--cc=netdev@vger.kernel.org \
--cc=tipc-discussion@lists.sourceforge.net \
--cc=ying.xue@windriver.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;
as well as URLs for NNTP newsgroup(s).