[Intel-wired-lan] [PATCH][next] idpf: make read-only arrays tx_itr and rx_itr static const

2024-08-22 Thread Colin Ian King
Don't populate the read-only arrays tx_itr and rx_itr on the stack at run time, instead make them static const. Signed-off-by: Colin Ian King --- drivers/net/ethernet/intel/idpf/idpf_virtchnl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/ethernet/

[Intel-wired-lan] [PATCH][next][V2] ice: make const read-only array dflt_rules static

2025-03-17 Thread Colin Ian King
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 --- V2: Remove additional changes not related to this commit. --- drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c | 2 +- 1 file changed, 1 insertion(

[Intel-wired-lan] [PATCH][next] ice: make const read-only array dflt_rules static

2025-03-17 Thread Colin Ian King
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 --- drivers/gpu/drm/i915/intel_memory_region.c| 2 +- drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c | 2 +- 2 files changed, 2 insertions(

[Intel-wired-lan] [PATCH] igc: Make the const read-only array supported_sizes static

2025-06-18 Thread Colin Ian King
Don't populate the const read-only array supported_sizes on the stack at run time, instead make it static. Signed-off-by: Colin Ian King --- drivers/net/ethernet/intel/igc/igc_tsn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/ethernet/intel/igc/igc_tsn