Re: [PATCH] ethtool: Replace 0-length array with flexible array

From: Jakub Kicinski
Date: Thu Jan 05 2023 - 18:27:43 EST


On Thu, 5 Jan 2023 13:41:34 -0800 Kees Cook wrote:
> Zero-length arrays are deprecated[1]. Replace struct ethtool_rxnfc's
> "rule_locs" 0-length array with a flexible array. Detected with GCC 13,
> using -fstrict-flex-arrays=3:

You gotta CC netdev to get it into patchwork etc.