Re: [PATCH v2] net/intel: Replace manual array size calculation with ARRAY_SIZE
Dan Carpenter <[email protected]>
| Newsgroups | org.kernel.vger.kernel-janitors,org.kernel.vger.netdev |
|---|---|
| Message-ID | <[email protected]> |
On Wed, Apr 22, 2026 at 12:57:12PM +0200, 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 <[email protected]> > --- Thanks. Reviewed-by: Dan Carpenter <[email protected]> regards, dan carpenter