tree: https://git.kernel.org/pub/scm/linux/kernel/git/jberg/mac80211-next.git nl-err head: 9176318575481c0b2cf7b08c9253c98751dee303 commit: 9176318575481c0b2cf7b08c9253c98751dee303 [5/5] netlink: pass extended error struct to parsing functions config: i386-randconfig-x075-201714 (attached as .config) compiler: gcc-6 (Debian 6.2.0-3) 6.2.0 20160901 reproduce: git checkout 9176318575481c0b2cf7b08c9253c98751dee303 # save the attached .config to linux build tree make ARCH=i386
All errors (new ones prefixed by >>):
In file included from net/sched/cls_rsvp6.c:27:0:
net/sched/cls_rsvp.h: In function 'rsvp_change':
>> net/sched/cls_rsvp.h:487:8: error: too few arguments to function
>> 'nla_parse_nested'
err = nla_parse_nested(tb, TCA_RSVP_MAX, opt, rsvp_policy);
^~~~~~~~~~~~~~~~
In file included from include/net/rtnetlink.h:5:0,
from include/net/sch_generic.h:12,
from include/linux/filter.h:20,
from include/net/sock.h:64,
from include/linux/tcp.h:23,
from include/linux/ipv6.h:85,
from net/sched/cls_rsvp6.c:17:
include/net/netlink.h:754:19: note: declared here
static inline int nla_parse_nested(struct nlattr *tb[], int maxtype,
^~~~~~~~~~~~~~~~
vim +/nla_parse_nested +487 net/sched/cls_rsvp.h
66c6f529c Al Viro 2006-11-20 481 __be32 *dst;
^1da177e4 Linus Torvalds 2005-04-16 482 int err;
^1da177e4 Linus Torvalds 2005-04-16 483
^1da177e4 Linus Torvalds 2005-04-16 484 if (opt == NULL)
^1da177e4 Linus Torvalds 2005-04-16 485 return handle ? -EINVAL
: 0;
^1da177e4 Linus Torvalds 2005-04-16 486
6fa8c0144 Patrick McHardy 2008-01-23 @487 err = nla_parse_nested(tb,
TCA_RSVP_MAX, opt, rsvp_policy);
cee63723b Patrick McHardy 2008-01-23 488 if (err < 0)
cee63723b Patrick McHardy 2008-01-23 489 return err;
^1da177e4 Linus Torvalds 2005-04-16 490
:::::: The code at line 487 was first introduced by commit
:::::: 6fa8c0144b770dac941cf2c15053b6e24f046c8a [NET_SCHED]: Use nla_policy for
attribute validation in classifiers
:::::: TO: Patrick McHardy <[email protected]>
:::::: CC: David S. Miller <[email protected]>
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip
