summaryrefslogtreecommitdiff
path: root/scripts/Makefile.kcsan
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2022-08-01 05:51:09 +0300
committerAndrii Nakryiko <andrii@kernel.org>2022-08-05 00:40:00 +0300
commit3045f42a64324d339125a8a1a1763bb9e1e08300 (patch)
tree2f6152831fcdf9b66799cfa9b3312955e296219d /scripts/Makefile.kcsan
parent47ea7417b0744324424405fc1207e266053237a9 (diff)
downloadlinux-3045f42a64324d339125a8a1a1763bb9e1e08300.tar.xz
libbpf: Initialize err in probe_map_create
GCC-11 warns about the possibly unitialized err variable in probe_map_create: libbpf_probes.c: In function 'probe_map_create': libbpf_probes.c:361:38: error: 'err' may be used uninitialized in this function [-Werror=maybe-uninitialized] 361 | return fd < 0 && err == exp_err ? 1 : 0; | ~~~~^~~~~~~~~~ Fixes: 878d8def0603 ("libbpf: Rework feature-probing APIs") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Link: https://lore.kernel.org/bpf/20220801025109.1206633-1-f.fainelli@gmail.com
Diffstat (limited to 'scripts/Makefile.kcsan')
0 files changed, 0 insertions, 0 deletions