Re: [PATCH][next] RDMA/irdma: Replace one-element array with flexible-array member

From: Gustavo A. R. Silva
Date: Thu Aug 03 2023 - 19:13:41 EST




On 8/3/23 12:11, Leon Romanovsky wrote:

On Wed, 02 Aug 2023 08:46:26 -0600, Gustavo A. R. Silva wrote:
One-element and zero-length arrays are deprecated. So, replace
one-element array in struct irdma_qvlist_info with flexible-array
member.

A patch for this was sent a while ago[1]. However, it seems that, at
the time, the changes were partially folded[2][3], and the actual
flexible-array transformation was omitted. This patch fixes that.

[...]

Applied, thanks!

Awesome. :)

Thank you!
--
Gustavo


[1/1] RDMA/irdma: Replace one-element array with flexible-array member
https://git.kernel.org/rdma/rdma/c/38313c6d2a02c2

Best regards,