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:Whoops, this should be:
One-element and zero-length arrays are deprecated. So, replaceTested-by: Justin Stitt <justinstitt@xxxxxxxxxx>
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(-)
Reviewed-by: Justin Stitt <justinstitt@xxxxxxxxxx>
I did not test, I just verified there are no binary differences produced
by this patch.