public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Ariel Levkovich <lariel@mellanox.com>, netdev@vger.kernel.org
Cc: kbuild-all@lists.01.org, jiri@resnulli.us, kuba@kernel.org,
	jhs@mojatatu.com, xiyou.wangcong@gmail.com, ast@kernel.org,
	daniel@iogearbox.net, Ariel Levkovich <lariel@mellanox.com>,
	Jiri Pirko <jiri@mellanox.com>
Subject: Re: [PATCH net-next v2 1/3] net/sched: Introduce action hash
Date: Thu, 2 Jul 2020 06:20:54 +0800	[thread overview]
Message-ID: <202007020632.asqJzED4%lkp@intel.com> (raw)
In-Reply-To: <20200701184719.8421-2-lariel@mellanox.com>

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

Hi Ariel,

Thank you for the patch! Yet something to improve:

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

url:    https://github.com/0day-ci/linux/commits/Ariel-Levkovich/TC-datapath-hash-api/20200702-025138
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 2b04a66156159592156a97553057e8c36de2ee70
config: riscv-allyesconfig (attached as .config)
compiler: riscv64-linux-gcc (GCC) 9.3.0
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
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.3.0 make.cross ARCH=riscv 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> net/sched/act_hash.c:351:24: error: initialization of 'void (*)(struct tc_action *, u64,  u64,  u64,  u64,  bool)' {aka 'void (*)(struct tc_action *, long long unsigned int,  long long unsigned int,  long long unsigned int,  long long unsigned int,  _Bool)'} from incompatible pointer type 'void (*)(struct tc_action *, u64,  u32,  u64,  bool)' {aka 'void (*)(struct tc_action *, long long unsigned int,  unsigned int,  long long unsigned int,  _Bool)'} [-Werror=incompatible-pointer-types]
     351 |  .stats_update =       tcf_hash_stats_update,
         |                        ^~~~~~~~~~~~~~~~~~~~~
   net/sched/act_hash.c:351:24: note: (near initialization for 'act_hash_ops.stats_update')
   cc1: some warnings being treated as errors

vim +351 net/sched/act_hash.c

   340	
   341	static struct tc_action_ops act_hash_ops = {
   342		.kind		=       "hash",
   343		.id		=       TCA_ID_HASH,
   344		.owner		=       THIS_MODULE,
   345		.act		=       tcf_hash_act,
   346		.dump		=       tcf_hash_dump,
   347		.init		=       tcf_hash_init,
   348		.cleanup	=       tcf_hash_cleanup,
   349		.walk		=       tcf_hash_walker,
   350		.lookup		=       tcf_hash_search,
 > 351		.stats_update	=       tcf_hash_stats_update,
   352		.size		=       sizeof(struct tcf_hash),
   353	};
   354	

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

  reply	other threads:[~2020-07-01 22:24 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-01 18:47 [PATCH net-next v2 0/3] ] TC datapath hash api Ariel Levkovich
2020-07-01 18:47 ` [PATCH net-next v2 1/3] net/sched: Introduce action hash Ariel Levkovich
2020-07-01 22:20   ` kernel test robot [this message]
2020-07-02 20:52   ` Cong Wang
2020-07-01 18:47 ` [PATCH net-next v2 2/3] net/flow_dissector: add packet hash dissection Ariel Levkovich
2020-07-01 18:47 ` [PATCH net-next v2 3/3] net/sched: cls_flower: Add hash info to flow classification Ariel Levkovich
2020-07-03 11:22 ` [PATCH net-next v2 0/3] ] TC datapath hash api Jamal Hadi Salim
2020-07-05 17:26   ` Ariel Levkovich
2020-07-05 21:50     ` Jamal Hadi Salim
2020-07-06  0:28       ` Cong Wang
2020-07-09 13:52         ` Ariel Levkovich
2020-07-06  0:23     ` Cong Wang
2020-07-07 10:05   ` Jiri Pirko
2020-07-08 13:54     ` Jamal Hadi Salim
2020-07-08 14:45       ` Jiri Pirko
2020-07-09 11:00         ` Jamal Hadi Salim
2020-07-09 12:19           ` Jiri Pirko
2020-07-10 12:04             ` Jamal Hadi Salim
2020-08-07 10:41               ` Jamal Hadi Salim

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=202007020632.asqJzED4%lkp@intel.com \
    --to=lkp@intel.com \
    --cc=ast@kernel.org \
    --cc=daniel@iogearbox.net \
    --cc=jhs@mojatatu.com \
    --cc=jiri@mellanox.com \
    --cc=jiri@resnulli.us \
    --cc=kbuild-all@lists.01.org \
    --cc=kuba@kernel.org \
    --cc=lariel@mellanox.com \
    --cc=netdev@vger.kernel.org \
    --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