]> git.baikalelectronics.ru Git - kernel.git/commit
ipip: fix one sparse error
authorEric Dumazet <edumazet@google.com>
Fri, 15 May 2015 15:58:45 +0000 (08:58 -0700)
committerDavid S. Miller <davem@davemloft.net>
Sun, 17 May 2015 17:08:29 +0000 (13:08 -0400)
commit7dda99a571e4ebd8bbe8a6d2511b3ebaf1374b97
tree717fd56b24c122d61686a2bbbaa605f688dbbe0a
parent5e0416b57eb23728dda8b1bed5c6ab658b8e2b92
ipip: fix one sparse error

make C=2 CF=-D__CHECK_ENDIAN__ net/ipv4/ipip.o
  CHECK   net/ipv4/ipip.c
net/ipv4/ipip.c:254:27: warning: incorrect type in assignment (different base types)
net/ipv4/ipip.c:254:27:    expected restricted __be32 [addressable] [usertype] o_key
net/ipv4/ipip.c:254:27:    got restricted __be16 [addressable] [usertype] i_flags

Fixes: 912931e6d812 ("ipip: fix a regression in ioctl")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/ipip.c