[PATCH] common/iavf: replace zero-length arrays with flexible ones

Zhang, Qi Z qi.z.zhang at intel.com
Tue Jun 28 09:45:01 CEST 2022



> -----Original Message-----
> From: 835703180 at qq.com <835703180 at qq.com>
> Sent: Thursday, June 16, 2022 1:26 AM
> To: Wu, Jingjing <jingjing.wu at intel.com>
> Cc: dev at dpdk.org; Shiqi Liu <835703180 at qq.com>
> Subject: [PATCH] common/iavf: replace zero-length arrays with flexible ones
> 
> From: Shiqi Liu <835703180 at qq.com>
> 
>     This patch replaces instances of zero-sized arrays i.e. those at the
>     end of structures with "[0]" with the more standard syntax of "[]".
>     Replacement was done using coccinelle script, with some revert and
>     cleanup of whitespace afterwards.
> 
> Signed-off-by: Shiqi Liu <835703180 at qq.com>

Nacked for compile issue reported in patchwork
https://patchwork.dpdk.org/project/dpdk/patch/tencent_7D3A7A9D44570652650B9D5ED095956C4306@qq.com/


More information about the dev mailing list