Messages in this thread | | | Date | Sat, 9 May 2020 20:51:50 -0700 | From | Jakub Kicinski <> | Subject | Re: [PATCH] IB/mlx4: Replace zero-length array with flexible-array |
| |
On Thu, 7 May 2020 13:59:21 -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 in C99: > > struct foo { > int stuff; > struct boo array[]; > }; > > ...
Applied, thank you!
| |