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
replace zero-length arrays with flexible ones
[dpdk.git]
/
drivers
/
common
/
dpaax
/
dpaax_iova_table.h
diff --git
a/drivers/common/dpaax/dpaax_iova_table.h
b/drivers/common/dpaax/dpaax_iova_table.h
index
b1f2300
..
9a18eaf
100644
(file)
--- a/
drivers/common/dpaax/dpaax_iova_table.h
+++ b/
drivers/common/dpaax/dpaax_iova_table.h
@@
-32,7
+32,7
@@
struct dpaax_iovat_element {
struct dpaax_iova_table {
unsigned int count; /**< No. of blocks of contiguous physical pages */
struct dpaax_iova_table {
unsigned int count; /**< No. of blocks of contiguous physical pages */
- struct dpaax_iovat_element entries[
0
];
+ struct dpaax_iovat_element entries[];
};
/* Pointer to the table, which is common for DPAA/DPAA2 and only a single
};
/* Pointer to the table, which is common for DPAA/DPAA2 and only a single