d0c12a439130859426c4ec69e47f80a3764c100c
[openwrt/staging/mkresin.git] /
1 From 62fedbc6ed6f4117168af52a7ff12e3450809d30 Mon Sep 17 00:00:00 2001
2 From: Camelia Groza <camelia.groza@nxp.com>
3 Date: Wed, 17 Jan 2018 16:31:57 +0200
4 Subject: [PATCH] sdk_dpaa: ceetm: pass extended ACK struct to parsing
5 functions
6
7 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
8 ---
9 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
11
12 --- a/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
13 +++ b/drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c
14 @@ -1053,7 +1053,7 @@ static int ceetm_init(struct Qdisc *sch,
15 return -EINVAL;
16 }
17
18 - ret = nla_parse_nested(tb, TCA_CEETM_QOPS, opt, ceetm_policy);
19 + ret = nla_parse_nested(tb, TCA_CEETM_QOPS, opt, ceetm_policy, NULL);
20 if (ret < 0) {
21 pr_err(KBUILD_BASENAME " : %s : tc error\n", __func__);
22 return ret;
23 @@ -1230,7 +1230,7 @@ static int ceetm_change(struct Qdisc *sc
24
25 pr_debug(KBUILD_BASENAME " : %s : qdisc %X\n", __func__, sch->handle);
26
27 - ret = nla_parse_nested(tb, TCA_CEETM_QOPS, opt, ceetm_policy);
28 + ret = nla_parse_nested(tb, TCA_CEETM_QOPS, opt, ceetm_policy, NULL);
29 if (ret < 0) {
30 pr_err(KBUILD_BASENAME " : %s : tc error\n", __func__);
31 return ret;
32 @@ -1463,7 +1463,7 @@ static int ceetm_cls_change(struct Qdisc
33 return -EINVAL;
34 }
35
36 - err = nla_parse_nested(tb, TCA_CEETM_COPT, opt, ceetm_policy);
37 + err = nla_parse_nested(tb, TCA_CEETM_COPT, opt, ceetm_policy, NULL);
38 if (err < 0) {
39 pr_err(KBUILD_BASENAME " : %s : tc error\n", __func__);
40 return -EINVAL;