aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2021-12-11 18:08:19 -0800
committerAlexei Starovoitov <[email protected]>2021-12-11 18:08:19 -0800
commitf18a499799dd0f0fdd98cf72d98d3866ce9ac60e (patch)
treea8e5852788ed516cf435947dbf6e81d38efc034f /net/unix/sysctl_net_unix.c
parent4674f21071b935c237217ac02cb310522d6ad95d (diff)
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 <[email protected]>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions