Re: [PATCH v1] devtools: allow variable declaration inside for loop

2023-05-03 Thread Ferruh Yigit
On 5/3/2023 11:02 AM, Bruce Richardson wrote: > On Wed, May 03, 2023 at 10:50:18AM +0100, Ferruh Yigit wrote: >> 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 [2], declaring var

Re: [PATCH v1] devtools: allow variable declaration inside for loop

2023-05-03 Thread Bruce Richardson
On Wed, May 03, 2023 at 10:50:18AM +0100, Ferruh Yigit wrote: > 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 [2], declaring variable inside loop can be > allowed. > > [1] Commit

[PATCH v1] devtools: allow variable declaration inside for loop

2023-05-03 Thread Ferruh Yigit
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 [2], declaring variable inside loop can be allowed. [1] Commit 43e73483a4b8 ("devtools: forbid variable declaration inside for") [2] htt