Re: [Intel-wired-lan] [PATCH 2/4][next] i40e: Replace one-element array with flex-array member in struct i40e_profile_segment

From: Gustavo A. R. Silva
Date: Thu Aug 10 2023 - 17:50:53 EST




On 8/10/23 14:49, Justin Stitt wrote:
On Thu, Aug 10, 2023 at 05:34:04PM +0000, Justin Stitt wrote:
On Tue, Aug 01, 2023 at 11:05:59PM -0600, Gustavo A. R. Silva wrote:
One-element and zero-length arrays are deprecated. So, replace
one-element array in struct i40e_profile_segment with flexible-array
member.

This results in no differences in binary output.

Link: https://github.com/KSPP/linux/issues/335
Signed-off-by: Gustavo A. R. Silva <gustavoars@xxxxxxxxxx>
---
drivers/net/ethernet/intel/i40e/i40e_type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Tested-by: Justin Stitt <justinstitt@xxxxxxxxxx>
Whoops, this should be:
Reviewed-by: Justin Stitt <justinstitt@xxxxxxxxxx>

I did not test, I just verified there are no binary differences produced
by this patch.

In that case, `Build-tested-by` seems more appropriate.

Anyways, the series has been applied already.

--
Gustavo