> > > > > Declaring variable inside for loop is not supported via C89 and it was > > > > > checked in checkpatch.sh via commit [1]. > > > > > But as DPDK supported C standard is becoming C99/C11 [2], declaring > > > > > variable inside loop can be allowed. > > > > > > > > > > [1] > > > > > Commit 43e73483a4b8 ("devtools: forbid variable declaration inside > > > > for") > > > > > > > > > > [2] > > > > > https://dpdk.org/patch/121912 > > > > > > > > > > Signed-off-by: Ferruh Yigit <ferruh.yi...@amd.com> > > > > > --- > > > > > Cc: Bruce Richardson <bruce.richard...@intel.com> > > > > > Cc: David Marchand <david.march...@redhat.com> > > > > > > > > > > v2: > > > > > * Update coding convention too > > > > > --- > > > > > > > > Acked-by: Bruce Richardson <bruce.richard...@intel.com> > > > > > > Acked-by: Morten Brørup <m...@smartsharesystems.com> > > Acked-by: Tyler Retzlaff <roret...@linux.microsoft.com>
Applied, thanks.