From: kbuild test robot <lkp@intel.com>
To: "Toke Høiland-Jørgensen" <toke@toke.dk>
Cc: kbuild-all@01.org, netdev@vger.kernel.org,
cake@lists.bufferbloat.net, netfilter-devel@vger.kernel.org
Subject: Re: [Cake] [PATCH net-next v16 4/8] netfilter: Add nf_ct_get_tuple_skb callback
Date: Wed, 30 May 2018 14:11:36 +0800 [thread overview]
Message-ID: <201805301348.RA2lLmie%fengguang.wu@intel.com> (raw)
In-Reply-To: <152751766686.30935.14644567905547700823.stgit@alrua-kau>
[-- Attachment #1: Type: text/plain, Size: 2192 bytes --]
Hi Toke,
Thank you for the patch! Perhaps something to improve:
[auto build test WARNING on net/master]
[also build test WARNING on v4.17-rc7]
[cannot apply to net-next/master next-20180529]
[if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Toke-H-iland-J-rgensen/sched-Add-Common-Applications-Kept-Enhanced-cake-qdisc/20180530-125240
config: i386-randconfig-a0-05291352 (attached as .config)
compiler: gcc-4.9 (Debian 4.9.4-2) 4.9.4
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All warnings (new ones prefixed by >>):
net/netfilter/core.c: In function 'nf_ct_get_tuple_skb':
>> net/netfilter/core.c:586:12: warning: assignment from incompatible pointer type
get_tuple = rcu_dereference(skb_ct_get_tuple);
^
>> net/netfilter/core.c:589:18: warning: passing argument 1 of 'get_tuple' from incompatible pointer type
ret = get_tuple(dst_tuple, skb);
^
net/netfilter/core.c:589:18: note: expected 'const struct sk_buff *' but argument is of type 'struct nf_conntrack_tuple *'
net/netfilter/core.c:589:29: warning: passing argument 2 of 'get_tuple' from incompatible pointer type
ret = get_tuple(dst_tuple, skb);
^
net/netfilter/core.c:589:29: note: expected 'struct nf_conntrack_tuple *' but argument is of type 'const struct sk_buff *'
vim +586 net/netfilter/core.c
578
579 bool nf_ct_get_tuple_skb(struct nf_conntrack_tuple *dst_tuple,
580 const struct sk_buff *skb)
581 {
582 bool (*get_tuple)(const struct sk_buff *, struct nf_conntrack_tuple *);
583 bool ret = false;
584
585 rcu_read_lock();
> 586 get_tuple = rcu_dereference(skb_ct_get_tuple);
587 if (!get_tuple)
588 goto out;
> 589 ret = get_tuple(dst_tuple, skb);
590 out:
591 rcu_read_unlock();
592 return ret;
593 }
594 EXPORT_SYMBOL(nf_ct_get_tuple_skb);
595
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 28923 bytes --]
next prev parent reply other threads:[~2018-05-30 6:12 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-28 14:27 [Cake] [PATCH net-next v16 0/8] sched: Add Common Applications Kept Enhanced (cake) qdisc Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 1/8] " Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 5/8] sch_cake: Add NAT awareness to packet classifier Toke Høiland-Jørgensen
2018-05-28 19:51 ` Pablo Neira Ayuso
2018-05-28 22:19 ` Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 6/8] sch_cake: Add DiffServ handling Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 4/8] netfilter: Add nf_ct_get_tuple_skb callback Toke Høiland-Jørgensen
2018-05-28 19:49 ` Pablo Neira Ayuso
2018-05-28 21:28 ` Toke Høiland-Jørgensen
2018-05-30 6:11 ` kbuild test robot [this message]
2018-05-30 8:33 ` kbuild test robot
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 3/8] sch_cake: Add optional ACK filter Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 2/8] sch_cake: Add ingress mode Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 7/8] sch_cake: Add overhead compensation support to the rate shaper Toke Høiland-Jørgensen
2018-05-28 14:27 ` [Cake] [PATCH net-next v16 8/8] sch_cake: Conditionally split GSO segments Toke Høiland-Jørgensen
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
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201805301348.RA2lLmie%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=cake@lists.bufferbloat.net \
--cc=kbuild-all@01.org \
--cc=netdev@vger.kernel.org \
--cc=netfilter-devel@vger.kernel.org \
--cc=toke@toke.dk \
/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