Re: [PATCH] IB/core, cache: Replace zero-length array with flexible-array member

From: Gustavo A. R. Silva
Date: Thu Feb 13 2020 - 13:43:43 EST




On 2/13/20 12:37, Leon Romanovsky wrote:
> On Thu, Feb 13, 2020 at 12:36:39PM -0600, Gustavo A. R. Silva wrote:
>>
>>
>> On 2/12/20 19:08, Jason Gunthorpe wrote:
>>>
>>> There are many more of these under core/* care to fix them all in one
>>> patch?
>>>
>>
>> Sure thing. I can do that.
>
> Gustavo,
>
> Was checkpatch extended to catch such mistakes?
>

Not yet. But that's on my list for the short future.

Thanks
--
Gustavo