git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd13145
)
net/sfc: remove void pointer cast
author
Zhiyong Yang
<zhiyong.yang@intel.com>
Mon, 26 Feb 2018 08:11:03 +0000
(16:11 +0800)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Fri, 30 Mar 2018 12:08:43 +0000
(14:08 +0200)
Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
Acked-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/sfc_flow.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/sfc_flow.c
b/drivers/net/sfc/sfc_flow.c
index
93cdf8f
..
eb555c3
100644
(file)
--- a/
drivers/net/sfc/sfc_flow.c
+++ b/
drivers/net/sfc/sfc_flow.c
@@
-115,13
+115,13
@@
sfc_flow_parse_init(const struct rte_flow_item *item,
return -rte_errno;
}
- mask =
(const uint8_t *)
def_mask;
+ mask = def_mask;
} else {
- mask =
(const uint8_t *)
item->mask;
+ mask = item->mask;
}
- spec =
(const uint8_t *)
item->spec;
- last =
(const uint8_t *)
item->last;
+ spec = item->spec;
+ last = item->last;
if (spec == NULL)
goto exit;