diff options
author | David S. Miller <davem@davemloft.net> | 2018-10-19 20:03:06 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-10-19 20:03:06 +0200 |
commit | 2e2d6f0342be7f73a34526077fa96f42f0e8c661 (patch) | |
tree | 29f3740825a70aa606e03cf3a048d9a3a751529c /lib/test_ida.c | |
parent | rocker: Drop pointless static qualifier (diff) | |
parent | Revert "bond: take rcu lock in netpoll_send_skb_on_dev" (diff) | |
download | linux-2e2d6f0342be7f73a34526077fa96f42f0e8c661.tar.xz linux-2e2d6f0342be7f73a34526077fa96f42f0e8c661.zip |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net
net/sched/cls_api.c has overlapping changes to a call to
nlmsg_parse(), one (from 'net') added rtm_tca_policy instead of NULL
to the 5th argument, and another (from 'net-next') added cb->extack
instead of NULL to the 6th argument.
net/ipv4/ipmr_base.c is a case of a bug fix in 'net' being done to
code which moved (to mr_table_dump)) in 'net-next'. Thanks to David
Ahern for the heads up.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/test_ida.c')
-rw-r--r-- | lib/test_ida.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/test_ida.c b/lib/test_ida.c index 2d1637d8136b..b06880625961 100644 --- a/lib/test_ida.c +++ b/lib/test_ida.c @@ -150,10 +150,10 @@ static void ida_check_conv(struct ida *ida) IDA_BUG_ON(ida, !ida_is_empty(ida)); } +static DEFINE_IDA(ida); + static int ida_checks(void) { - DEFINE_IDA(ida); - IDA_BUG_ON(&ida, !ida_is_empty(&ida)); ida_check_alloc(&ida); ida_check_destroy(&ida); |