Re: [PATCH v2 bpf-next] bpf: fix a warning message in mark_ptr_not_null_reg()

2021-02-17 Thread patchwork-bot+netdevbpf
Hello: This patch was applied to bpf/bpf-next.git (refs/heads/master): On Wed, 17 Feb 2021 10:45:25 +0300 you wrote: > The WARN_ON() argument is a condition, not an error message. So this > code will print a stack trace but will not print the warning message. > Fix that and also change it to onl

[PATCH v2 bpf-next] bpf: fix a warning message in mark_ptr_not_null_reg()

2021-02-16 Thread Dan Carpenter
The WARN_ON() argument is a condition, not an error message. So this code will print a stack trace but will not print the warning message. Fix that and also change it to only WARN_ONCE(). Fixes: 4ddb74165ae5 ("bpf: Extract nullable reg type conversion into a helper function") Signed-off-by: Dan