net: Use a more standard macro for INET_ADDR_COOKIE
authorJoe Perches <joe@perches.com>
Wed, 14 May 2014 03:30:07 +0000 (20:30 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 May 2014 20:07:23 +0000 (16:07 -0400)
commitc7228317441f4dee5e5916e30300dd8c61f75af7
treed1a2183e764d0c424bd44f41ea4e1db9937be84c
parent126e612223c885a8718839d97c67473503bea58a
net: Use a more standard macro for INET_ADDR_COOKIE

Missing a colon on definition use is a bit odd so
change the macro for the 32 bit case to declare an
__attribute__((unused)) and __deprecated variable.

The __deprecated attribute will cause gcc to emit
an error if the variable is actually used.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/inet_hashtables.h
net/ipv4/inet_hashtables.c
net/ipv4/udp.c