diff options
author | 2020-05-27 01:00:20 -0700 | |
---|---|---|
committer | 2020-05-27 11:22:37 -0700 | |
commit | d8e79f1dbcee8032667c0718a654c749d64f6304 (patch) | |
tree | f35fec2e5e5f468361783287a33587b53067c7dc /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: phy: at803x: add cable diagnostics support for ATH9331 and ATH8032 (diff) | |
download | wireguard-linux-d8e79f1dbcee8032667c0718a654c749d64f6304.tar.xz wireguard-linux-d8e79f1dbcee8032667c0718a654c749d64f6304.zip |
nexthop: Fix type of event_type in call_nexthop_notifiers
Clang warns:
net/ipv4/nexthop.c:841:30: warning: implicit conversion from enumeration
type 'enum nexthop_event_type' to different enumeration type 'enum
fib_event_type' [-Wenum-conversion]
call_nexthop_notifiers(net, NEXTHOP_EVENT_DEL, nh);
~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
1 warning generated.
Use the right type for event_type so that clang does not warn.
Fixes: 8590ceedb701 ("nexthop: add support for notifiers")
Link: https://github.com/ClangBuiltLinux/linux/issues/1038
Signed-off-by: Nathan Chancellor <natechancellor@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions