]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ipv4: remove sparse error in ip_neigh_gw4()
authorEric Dumazet <edumazet@google.com>
Thu, 27 Jan 2022 01:34:04 +0000 (17:34 -0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 27 Jan 2022 16:38:33 +0000 (08:38 -0800)
commit3c42b2019863b327caa233072c50739d4144dd16
treeb901ecd51e9dbeaf95dfa204cf3893d7cab2d2b4
parent3ede6465e756651ff5bd9b495d6cacd5ec8216e5
ipv4: remove sparse error in ip_neigh_gw4()

./include/net/route.h:373:48: warning: incorrect type in argument 2 (different base types)
./include/net/route.h:373:48:    expected unsigned int [usertype] key
./include/net/route.h:373:48:    got restricted __be32 [usertype] daddr

Fixes: 5c9f7c1dfc2e ("ipv4: Add helpers for neigh lookup for nexthop")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Reviewed-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20220127013404.1279313-1-eric.dumazet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
include/net/route.h