RE: [Intel-wired-lan] [PATCH][next][V2] ice: make const read-only array dflt_rules static
From: Rinitha, SX
Date: Mon Mar 31 2025 - 01:10:36 EST
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@xxxxxxxxxx> On Behalf Of Colin Ian King
> Sent: 17 March 2025 22:50
> To: Nguyen, Anthony L <anthony.l.nguyen@xxxxxxxxx>; Kitszel, Przemyslaw <przemyslaw.kitszel@xxxxxxxxx>; Andrew Lunn <andrew+netdev@xxxxxxx>; David S . Miller <davem@xxxxxxxxxxxxx>; Dumazet, Eric <edumazet@xxxxxxxxxx>; Jakub Kicinski <kuba@xxxxxxxxxx>; Paolo Abeni <pabeni@xxxxxxxxxx>; intel-wired-lan@xxxxxxxxxxxxxxxx; netdev@xxxxxxxxxxxxxxx
> Cc: kernel-janitors@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx
> Subject: [Intel-wired-lan] [PATCH][next][V2] ice: make const read-only array dflt_rules static
>
> Don't populate the const read-only array dflt_rules on the stack at run time, instead make it static.
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
>
> ---
> V2: Remove additional changes not related to this commit.
> ---
> drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Tested-by: Rinitha S <sx.rinitha@xxxxxxxxx> (A Contingent worker at Intel)