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