[2/7] cryptodev: replace zero length array with flex array
Checks
Commit Message
Zero length arrays are GNU extension. Replace with
standard flex array.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/cryptodev/cryptodev_pmd.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -153,7 +153,7 @@ struct rte_cryptodev_sym_session {
RTE_MARKER cacheline1 __rte_cache_min_aligned;
/**< Second cache line - start of the driver session data */
- uint8_t driver_priv_data[0];
+ uint8_t driver_priv_data[];
/**< Driver specific session data, variable size */
};