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:
9d42b13
)
net/sfc/base: add space after sizeof
author
Andy Moreton
<amoreton@solarflare.com>
Mon, 10 Sep 2018 09:33:06 +0000
(10:33 +0100)
committer
Ferruh Yigit
<ferruh.yigit@intel.com>
Thu, 27 Sep 2018 23:41:02 +0000
(
01:41
+0200)
Required by GLD cstyle.
Fixes:
d4f4b8f9d260
("net/sfc/base: make RxQ type data an union")
Cc: stable@dpdk.org
Signed-off-by: Andy Moreton <amoreton@solarflare.com>
Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
drivers/net/sfc/base/efx_rx.c
patch
|
blob
|
history
diff --git
a/drivers/net/sfc/base/efx_rx.c
b/drivers/net/sfc/base/efx_rx.c
index
4fd73ba
..
09933b4
100644
(file)
--- a/
drivers/net/sfc/base/efx_rx.c
+++ b/
drivers/net/sfc/base/efx_rx.c
@@
-831,7
+831,7
@@
efx_rx_qcreate_packed_stream(
{
efx_rxq_type_data_t type_data;
- memset(&type_data, 0, sizeof(type_data));
+ memset(&type_data, 0, sizeof
(type_data));
type_data.ertd_packed_stream.eps_buf_size = ps_buf_size;
@@
-867,7
+867,7
@@
efx_rx_qcreate_es_super_buffer(
goto fail1;
}
- memset(&type_data, 0, sizeof(type_data));
+ memset(&type_data, 0, sizeof
(type_data));
type_data.ertd_es_super_buffer.eessb_bufs_per_desc = n_bufs_per_desc;
type_data.ertd_es_super_buffer.eessb_max_dma_len = max_dma_len;