Re: [PATCH v3 net-next] net/intel: Replace manual array size calculation with ARRAY_SIZE

Dan Carpenter
2026-04-28T15:01:46Z

On Tue, Apr 28, 2026 at 04:06:48PM +0200, Przemek Kitszel wrote:
> On 4/28/26 12:36, Jakub Raczynski wrote:
> > There are still places in the code where manual calculation of array size
> > exist, but it is good to enforce usage of single macro through the whole
> > code as it makes code bit more readable.
> > While at it, beautify condition surrounding it by reversing check and remove
> > unnecessary casting.
> >
> > Signed-off-by: Jakub Raczynski <j.raczynski@samsung.com>
> > Reviewed-by: Dan Carpenter <error27@gmail.com>
>
> thank you,
> Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
>
> (next time use "iwl-next" in the title, no need to repost just for that)
>

Which sub directories go through iwl-next? I was trying to update
my script

> >
> > drivers/net/ethernet/intel/i40e/i40e_adminq.h | 2 +-
> > drivers/net/ethernet/intel/iavf/iavf_adminq.h | 2 +-
> > 2 files changed, 2 insertions(+), 2 deletions(-)

but look at these file names. There is no "iwl" anywhere in
the names! :(