git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/cnxk: fix uninitialized variables
[dpdk.git]
/
drivers
/
net
/
atlantic
/
atl_hw_regs.h
diff --git
a/drivers/net/atlantic/atl_hw_regs.h
b/drivers/net/atlantic/atl_hw_regs.h
index
a2d6ca8
..
4f6cd35
100644
(file)
--- a/
drivers/net/atlantic/atl_hw_regs.h
+++ b/
drivers/net/atlantic/atl_hw_regs.h
@@
-26,7
+26,7
@@
#define mdelay rte_delay_ms
#define udelay rte_delay_us
-#define ARRAY_SIZE(arr)
(sizeof(arr) / sizeof((arr)[0])
)
+#define ARRAY_SIZE(arr)
RTE_DIM(arr
)
#define BIT(x) (1UL << (x))
#define AQ_HW_WAIT_FOR(_B_, _US_, _N_) \