2013/6/6 Hangbin Liu <[email protected]>:
> @@ -58,15 +59,15 @@
>  #define SOL_ALG         279
>  #define SOL_NFC                280
>
> -#define NR_SOL_IP_OPTS 19
> -static int ip_opts[NR_SOL_IP_OPTS] = { IP_TOS, IP_TTL, IP_HDRINCL, 
> IP_OPTIONS,
> +#define NR_SOL_IP_OPTS ARRAY_SIZE(ip_opts)
> +static int ip_opts[] = { IP_TOS, IP_TTL, IP_HDRINCL, IP_OPTIONS,

How about also adding 'const'... ?

Dave already picked the patch, so this could be done separately.

Tommi
--
To unsubscribe from this list: send the line "unsubscribe trinity" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to