On Mon, 22 Sep 2025 10:07:39 +0000 Vadim Fedorenko wrote: > +#define MLX5E_FEC_RS_HIST_MAX 16
I'm guessing you insist on the checks because struct mlx5_ifc_rs_histogram_cntrs_bits hardcodes the size of the hist array as 16. Please make this define use ARRAY_SIZE() or some such, instead of this random looking number.
