Thread (2 messages) flat view 2 messages, 2 authors, 2020-05-20

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

From: Michael Ellerman <hidden>
Date: 2020-05-20 11:00:06
Also in: lkml

On Thu, 7 May 2020 13:57:49 -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 to powerpc/next.

[1/1] powerpc: Replace zero-length array with flexible-array
      https://git.kernel.org/powerpc/c/0f6be41c60699fd8cdfa93e5e85a306cec1ac1d0

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help