ipv6: addrconf: silence sparse endianness warnings
authorBjørn Mork <bjorn@mork.no>
Thu, 27 Feb 2014 13:20:29 +0000 (14:20 +0100)
committerDavid S. Miller <davem@davemloft.net>
Thu, 27 Feb 2014 22:13:20 +0000 (17:13 -0500)
commitbc861959103cb5ca43157db6ddb83d1e17e9c38a
tree5811da974cfdb5c7c15c73cac3160da0e46f51cf
parent5e2c21dceb5d324b204fda1f28270bb3dbccedb3
ipv6: addrconf: silence sparse endianness warnings

Avoid the following sparse __CHECK_ENDIAN__ warnings:

 include/net/addrconf.h:318:25: warning: restricted __be64 degrades to integer
 include/net/addrconf.h:318:70: warning: restricted __be64 degrades to integer
 include/net/addrconf.h:330:25: warning: restricted __be64 degrades to integer
 include/net/addrconf.h:330:70: warning: restricted __be64 degrades to integer
 include/net/addrconf.h:347:25: warning: restricted __be64 degrades to integer
 include/net/addrconf.h:348:26: warning: restricted __be64 degrades to integer
 include/net/addrconf.h:349:18: warning: restricted __be64 degrades to integer

The warnings are false but they make it harder to spot real
bugs.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h