On 03/21/13 at 06:18pm, Andrey Vagin wrote:
> Follow the common pattern and define *_DIAG_MAX like:
> 
>         [...]
>         __XXX_DIAG_MAX,
> };
> 
> Because everyone is used to do:
> 
>         struct nlattr *attrs[XXX_DIAG_MAX+1];
> 
>         nla_parse([...], XXX_DIAG_MAX, [...]
> 
> Reported-by: Thomas Graf <tg...@suug.ch>
> Cc: "David S. Miller" <da...@davemloft.net>
> Cc: Pavel Emelyanov <xe...@parallels.com>
> Cc: Eric Dumazet <eduma...@google.com>
> Cc: "Paul E. McKenney" <paul...@linux.vnet.ibm.com>
> Cc: David Howells <dhowe...@redhat.com>
> Signed-off-by: Andrey Vagin <ava...@openvz.org>

Acked-by: Thomas Graf <tg...@suug.ch>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to