[PATCH v3 0/4] clean up zero-length arrays

Bruce Richardson bruce.richardson at intel.com
Fri Jun 3 13:13:31 CEST 2022


On Fri, Jun 03, 2022 at 11:13:27AM +0100, Bruce Richardson wrote:
> This patchset adds a coccinelle script to clean-up zero-length
> arrays in structures. The final patches are the result of running
> that script on the DPDK repository.
> 
> V3: Fixed issues in mlx5 drivers:
>   * fixed incorrect coccinelle replacement of 2-D zero-length arrays
>   * undid removal of "0" in tx elts[] which caused issues with Werror-pedantic
> 
> V2: rebased to fix apply conflict
> 
Still more build errors with these changes reported, V4 to follow...


More information about the dev mailing list