]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ipv6: fix sparse errors in ip6_make_flowlabel()
authorEric Dumazet <edumazet@google.com>
Wed, 4 Feb 2015 23:03:25 +0000 (15:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 5 Feb 2015 08:42:28 +0000 (00:42 -0800)
commit677651462c774b5866be2bc42601303a76b021a0
treef09982498c42c7af3ba526e7447a4fd75448fd7c
parent2ce1ee1780564ba06ab4c1434aa03e347dc9169f
ipv6: fix sparse errors in ip6_make_flowlabel()

include/net/ipv6.h:713:22: warning: incorrect type in assignment (different base types)
include/net/ipv6.h:713:22:    expected restricted __be32 [usertype] hash
include/net/ipv6.h:713:22:    got unsigned int
include/net/ipv6.h:719:25: warning: restricted __be32 degrades to integer
include/net/ipv6.h:719:22: warning: invalid assignment: ^=
include/net/ipv6.h:719:22:    left side has type restricted __be32
include/net/ipv6.h:719:22:    right side has type unsigned int

Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/ipv6.h