]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit252a8fbe819d041b29789e2035cd1760f373345f
tree717fd56b24c122d61686a2bbbaa605f688dbbe0a
parentd53a2aa3a116609c7db8799da31541c4ba5999eb
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: 3b7b514f44bf ("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