Hello: This patch was applied to bpf/bpf.git (master) by Alexei Starovoitov <ast@xxxxxxxxxx>: On Tue, 10 Dec 2024 11:42:45 +0000 you wrote: > The bpf_remove_insns() function returns WARN_ON_ONCE(error), where > error is a result of bpf_adj_branches(), and thus should be always 0 > However, if for any reason it is not 0, then it will be converted to > boolean by WARN_ON_ONCE and returned to user space as 1, not an actual > error value. Fix this by returning the original err after the WARN check. > > Signed-off-by: Anton Protopopov <aspsk@xxxxxxxxxxxxx> > Acked-by: Jiri Olsa <jolsa@xxxxxxxxxx> > Acked-by: Andrii Nakryiko <andrii@xxxxxxxxxx> > > [...] Here is the summary with links: - [bpf] bpf: fix potential error return https://git.kernel.org/bpf/bpf/c/c4441ca86afe You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html