Re: [PATCH] be2net: use ARRAY_SIZE for array sizing calculation on array cmd_priv_map

From: David Miller
Date: Tue Jan 09 2018 - 11:41:14 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Sun, 7 Jan 2018 23:45:08 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> Use the ARRAY_SIZE macro on array cmd_priv_map to determine size of the
> array. Improvement suggested by coccinelle.
>
> Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>

Applied to net-next.