lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 14 May 2020 23:00:16 +0800
From:   kbuild test robot <lkp@...el.com>
To:     Vlad Buslov <vladbu@...lanox.com>, netdev@...r.kernel.org
Cc:     kbuild-all@...ts.01.org, davem@...emloft.net, jhs@...atatu.com,
        xiyou.wangcong@...il.com, jiri@...nulli.us, dcaratti@...hat.com,
        marcelo.leitner@...il.com, Vlad Buslov <vladbu@...lanox.com>,
        Jiri Pirko <jiri@...lanox.com>
Subject: Re: [PATCH net-next 1/4] net: sched: introduce terse dump flag

Hi Vlad,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on net-next/master]
[also build test ERROR on net/master linus/master v5.7-rc5 next-20200512]
[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/Vlad-Buslov/Implement-filter-terse-dump-mode-support/20200514-194322
base:   https://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next.git 6545be82807cc01712411321730656ad8ad30474
config: um-allmodconfig (attached as .config)
compiler: gcc-7 (Ubuntu 7.5.0-6ubuntu2) 7.5.0
reproduce:
        # save the attached .config to linux build tree
        make ARCH=um 

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

All errors (new ones prefixed by >>, old ones prefixed by <<):

In file included from include/net/rtnetlink.h:6:0,
from include/net/sch_generic.h:20,
from include/linux/filter.h:25,
from include/net/sock.h:59,
from net/sched/cls_api.c:27:
>> net/sched/cls_api.c:2591:43: error: initializer element is not constant
[TCA_DUMP_FLAGS] = NLA_POLICY_BITFIELD32(tca_dump_flags_allowed),
^
include/net/netlink.h:370:48: note: in definition of macro 'NLA_POLICY_BITFIELD32'
{ .type = NLA_BITFIELD32, .bitfield32_valid = valid }
^~~~~
net/sched/cls_api.c:2591:43: note: (near initialization for 'tcf_tfilter_dump_policy[15].<anonymous>.bitfield32_valid')
[TCA_DUMP_FLAGS] = NLA_POLICY_BITFIELD32(tca_dump_flags_allowed),
^
include/net/netlink.h:370:48: note: in definition of macro 'NLA_POLICY_BITFIELD32'
{ .type = NLA_BITFIELD32, .bitfield32_valid = valid }
^~~~~

vim +2591 net/sched/cls_api.c

  2589	
  2590	static const struct nla_policy tcf_tfilter_dump_policy[TCA_MAX + 1] = {
> 2591		[TCA_DUMP_FLAGS] = NLA_POLICY_BITFIELD32(tca_dump_flags_allowed),
  2592	};
  2593	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org

Download attachment ".config.gz" of type "application/gzip" (22594 bytes)

Powered by blists - more mailing lists