bc3282125b
Change the definition of C99 style to C90 style.
compile log as below:
otx2_mempool_ops.c: In function ‘otx2_npa_populate’:
drivers/mempool/octeontx2/otx2_mempool_ops.c:790:2: error:
‘for’ loop initial declarations are only allowed in C99 mode
for (int i = 0; i < OTX2_L1D_NB_SETS; i++)
^
drivers/mempool/octeontx2/otx2_mempool_ops.c:790:2:
note: use option -std=c99 or -std=gnu99 to compile your code
Fixes:
|
||
---|---|---|
.. | ||
bucket | ||
dpaa | ||
dpaa2 | ||
octeontx | ||
octeontx2 | ||
ring | ||
stack | ||
Makefile | ||
meson.build |