Re: [PATCH net-next] net: fib_notifier: don't return positive values on fib registration

2021-02-11 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to netdev/net-next.git (refs/heads/master): On Thu, 11 Feb 2021 12:07:59 +0200 you wrote: > The function fib6_walk_continue() cannot return a positive value when > called from register_fib_notifier(), but ignoring causes static analyzer to > generate warnings in user

[PATCH net-next] net: fib_notifier: don't return positive values on fib registration

2021-02-11 Thread Vlad Buslov
The function fib6_walk_continue() cannot return a positive value when called from register_fib_notifier(), but ignoring causes static analyzer to generate warnings in users of register_fib_notifier() that try to convert returned error code to pointer with ERR_PTR(). Handle such case by explicitly c