Re: [PATCH] ipv6: use ARRAY_SIZE for array sizing calculation on array seg6_action_table

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


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

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

Applied to net-next.