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
7 Signed-off-by: Camelia Groza <camelia.groza@nxp.com>
9 drivers/net/ethernet/freescale/sdk_dpaa/dpaa_eth_ceetm.c | 6 +++---
10 1 file changed, 3 insertions(+), 3 deletions(-)
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,
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);
21 pr_err(KBUILD_BASENAME " : %s : tc error\n", __func__);
23 @@ -1230,7 +1230,7 @@ static int ceetm_change(struct Qdisc *sc
25 pr_debug(KBUILD_BASENAME " : %s : qdisc %X\n", __func__, sch->handle);
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);
30 pr_err(KBUILD_BASENAME " : %s : tc error\n", __func__);
32 @@ -1463,7 +1463,7 @@ static int ceetm_cls_change(struct Qdisc
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);
39 pr_err(KBUILD_BASENAME " : %s : tc error\n", __func__);