Files
linux/kernel/bpf
Alexei Starovoitov f18a499799 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>
2021-12-11 18:08:19 -08:00
..
2021-05-24 21:13:05 -07:00
2021-11-30 10:56:28 -08:00
2021-07-07 20:01:45 -07:00
2020-03-13 12:49:52 -07:00
2021-12-11 17:40:23 -08:00
2021-07-15 22:31:10 +02:00
2020-08-28 15:41:30 +02:00
2021-05-24 21:13:05 -07:00
2021-11-12 10:19:09 -08:00
2021-11-12 10:19:09 -08:00