Home
last modified time | relevance | path

Searched hist:f18a499799dd0f0fdd98cf72d98d3866ce9ac60e (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/kernel/bpf/
H A Dbtf.cdiff f18a499799dd0f0fdd98cf72d98d3866ce9ac60e Sat Dec 11 20:08:19 CST 2021 Alexei Starovoitov <ast@kernel.org> bpf: Silence coverity false positive warning.

Coverity issued the following warning:
6685 cands = bpf_core_add_cands(cands, main_btf, 1);
6686 if (IS_ERR(cands))
>>> CID 1510300: (RETURN_LOCAL)
>>> Returning pointer "cands" which points to local variable "local_cand".
6687 return cands;

It's a false positive.
Add ERR_CAST() to silence it.

Signed-off-by: Alexei Starovoitov <ast@kernel.org>