• Bjørn Mork's avatar
    ipv6: addrconf: silence sparse endianness warnings · bc861959
    Bjørn Mork authored
    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: default avatarBjørn Mork <bjorn@mork.no>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    bc861959
addrconf.h 10.2 KB