]> git.baikalelectronics.ru Git - kernel.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)
commit97376f9b412cd3848a73465a5165015b96d91b11
treeb901ecd51e9dbeaf95dfa204cf3893d7cab2d2b4
parent7e289a8e1dbb48d3c77224a8b92795b5ecab5134
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: 5e13fa575efc ("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