Re: [Jfs-discussion] [PATCH] JFS: Replace zero-length array with flexible-array

2020-05-08 Thread Dave Kleikamp
Thanks Gustavo. I have already merged this into jfs-next. It was all I had queued up and I failed to push it in the last merge window to Linus. I'll make sure I get it in the next one. https://github.com/kleikamp/linux-shaggy/commits/jfs-next Shaggy On 5/7/20 1:55 PM, Gustavo A. R. Silva

[PATCH] JFS: 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