]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit48ff4f62238b07c52727b131724e9fa680a58d21
treed1a2183e764d0c424bd44f41ea4e1db9937be84c
parent56952a476e1f18df86a129ea3716e4b70cedefc8
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