netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Hadar Hen Zion <hadarh@mellanox.com>
Cc: kbuild-all@01.org, "David S. Miller" <davem@davemloft.net>,
	netdev@vger.kernel.org, Jiri Pirko <jiri@mellanox.com>,
	Jiri Benc <jbenc@redhat.com>, Jamal Hadi Salim <jhs@mojatatu.com>,
	Shmulik Ladkani <shmulik.ladkani@gmail.com>,
	Tom Herbert <tom@herbertland.com>,
	Eric Dumazet <edumazet@google.com>,
	Cong Wang <xiyou.wangcong@gmail.com>,
	Amir Vadai <amirva@mellanox.com>,
	Or Gerlitz <ogerlitz@mellanox.com>, Amir Vadai <amir@vadai.me>,
	Hadar Hen Zion <hadarh@mellanox.com>
Subject: Re: [PATCH net-next V5 4/4] net/sched: Introduce act_tunnel_key
Date: Sun, 4 Sep 2016 20:50:04 +0800	[thread overview]
Message-ID: <201609042003.c5NeKTJO%fengguang.wu@intel.com> (raw)
In-Reply-To: <1472986555-14949-5-git-send-email-hadarh@mellanox.com>

Hi Amir,

[auto build test WARNING on net-next/master]

url:    https://github.com/0day-ci/linux/commits/Hadar-Hen-Zion/net-sched-ip-tunnel-metadata-set-release-classify-by-using-TC/20160904-185825
reproduce:
        # apt-get install sparse
        make ARCH=x86_64 allmodconfig
        make C=1 CF=-D__CHECK_ENDIAN__


sparse warnings: (new ones prefixed by >>)

   include/linux/compiler.h:230:8: sparse: attribute 'no_sanitize_address': unknown attribute
>> net/sched/act_tunnel_key.c:38:18: sparse: incompatible types in comparison expression (different address spaces)
   net/sched/act_tunnel_key.c:169:22: sparse: incompatible types in comparison expression (different address spaces)
   net/sched/act_tunnel_key.c:197:18: sparse: incompatible types in comparison expression (different address spaces)
   net/sched/act_tunnel_key.c:248:18: sparse: incompatible types in comparison expression (different address spaces)

vim +38 net/sched/act_tunnel_key.c

    22	#include <net/tc_act/tc_tunnel_key.h>
    23	
    24	#define TUNNEL_KEY_TAB_MASK     15
    25	
    26	static int tunnel_key_net_id;
    27	static struct tc_action_ops act_tunnel_key_ops;
    28	
    29	static int tunnel_key_act(struct sk_buff *skb, const struct tc_action *a,
    30				  struct tcf_result *res)
    31	{
    32		struct tcf_tunnel_key *t = to_tunnel_key(a);
    33		struct tcf_tunnel_key_params *params;
    34		int action;
    35	
    36		rcu_read_lock();
    37	
  > 38		params = rcu_dereference(t->params);
    39	
    40		tcf_lastuse_update(&t->tcf_tm);
    41		bstats_cpu_update(this_cpu_ptr(t->common.cpu_bstats), skb);
    42		action = params->action;
    43	
    44		switch (params->tcft_action) {
    45		case TCA_TUNNEL_KEY_ACT_RELEASE:
    46			skb_dst_drop(skb);

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

  parent reply	other threads:[~2016-09-04 12:50 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-09-04 10:55 [PATCH net-next V5 0/4] net/sched: ip tunnel metadata set/release/classify by using TC Hadar Hen Zion
2016-09-04 10:55 ` [PATCH net-next V5 1/4] net/ip_tunnels: Introduce tunnel_id_to_key32() and key32_to_tunnel_id() Hadar Hen Zion
2016-09-04 10:55 ` [PATCH net-next V5 2/4] net/dst: Utility functions to build dst_metadata without supplying an skb Hadar Hen Zion
2016-09-04 11:14   ` Sergei Shtylyov
2016-09-04 12:27     ` Hadar Hen Zion
2016-09-04 10:55 ` [PATCH net-next V5 3/4] net/sched: cls_flower: Classify packet in ip tunnels Hadar Hen Zion
2016-09-04 10:55 ` [PATCH net-next V5 4/4] net/sched: Introduce act_tunnel_key Hadar Hen Zion
2016-09-04 11:21   ` Shmulik Ladkani
2016-09-04 12:50   ` kbuild test robot [this message]
2016-09-04 18:19   ` Rosen, Rami
2016-09-05  6:45     ` Hadar Hen Zion
2016-09-06 10:49   ` Jamal Hadi Salim
2016-09-06 11:03     ` Hadar Hen Zion
2016-09-06 12:44       ` Jamal Hadi Salim
2016-09-06 14:11   ` Eric Dumazet
2016-09-06 14:25     ` Hadar Hen Zion

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=201609042003.c5NeKTJO%fengguang.wu@intel.com \
    --to=lkp@intel.com \
    --cc=amir@vadai.me \
    --cc=amirva@mellanox.com \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=hadarh@mellanox.com \
    --cc=jbenc@redhat.com \
    --cc=jhs@mojatatu.com \
    --cc=jiri@mellanox.com \
    --cc=kbuild-all@01.org \
    --cc=netdev@vger.kernel.org \
    --cc=ogerlitz@mellanox.com \
    --cc=shmulik.ladkani@gmail.com \
    --cc=tom@herbertland.com \
    --cc=xiyou.wangcong@gmail.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).