Re: [PATCH] i2c: mux: Replace zero-length array with flexible-array

2020-05-13 Thread Wolfram Sang
> If that's not much work for you, then it'd be great if you include > it for 5.7. :) No problem, done now! signature.asc Description: PGP signature

Re: [PATCH] i2c: mux: Replace zero-length array with flexible-array

2020-05-12 Thread Gustavo A. R. Silva
On Tue, May 12, 2020 at 12:43:19PM +0200, Wolfram Sang wrote: > > > > Signed-off-by: Gustavo A. R. Silva > > Applied to for-next, thanks! Gustavo, let me know if you think it should > be in for-current. > Hi Wolfram, If that's not much work for you, then it'd be great if you include it for

Re: [PATCH] i2c: mux: Replace zero-length array with flexible-array

2020-05-12 Thread Wolfram Sang
On Thu, May 07, 2020 at 01:53:29PM -0500, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced

Re: [PATCH] i2c: mux: Replace zero-length array with flexible-array

2020-05-07 Thread Peter Rosin
On 2020-05-07 20:53, Gustavo A. R. Silva wrote: > The current codebase makes use of the zero-length array language > extension to the C90 standard, but the preferred mechanism to declare > variable-length types such as these ones is a flexible array member[1][2], > introduced in C99: > > struct

[PATCH] i2c: mux: Replace zero-length array with flexible-array

2020-05-07 Thread Gustavo A. R. Silva
The current codebase makes use of the zero-length array language extension to the C90 standard, but the preferred mechanism to declare variable-length types such as these ones is a flexible array member[1][2], introduced in C99: struct foo { int stuff; struct boo array[]; }; By