From: Andrey Vagin Date: Thu, 21 Mar 2013 16:33:46 +0000 (+0400) Subject: net: fix *_DIAG_MAX constants X-Git-Tag: v3.9-rc5~28^2~13 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ae5fc98728c8bbbd6d7cab0b9781671fc4419c1b;p=pandora-kernel.git net: fix *_DIAG_MAX constants 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 Cc: "David S. Miller" Cc: Pavel Emelyanov Cc: Eric Dumazet Cc: "Paul E. McKenney" Cc: David Howells Signed-off-by: Andrey Vagin Signed-off-by: David S. Miller --- Reading git-diff-tree failed