aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/lib/code-patching.c
diff options
context:
space:
mode:
authorLorenz Bauer <lmb@cloudflare.com>2019-05-08 12:49:32 -0400
committerAlexei Starovoitov <ast@kernel.org>2019-05-09 18:53:56 -0400
commit07b619919d3d5401adc9bc6b79dcf12cc2c6d485 (patch)
tree7592791ba5b9f6bd2dbdb17b0537f4eb0df23b43 /arch/powerpc/lib/code-patching.c
parent494bc1d281b5a9f02a81249fa566d8c7e390c50c (diff)
selftests: bpf: initialize bpf_object pointers where needed
There are a few tests which call bpf_object__close on uninitialized bpf_object*, which may segfault. Explicitly zero-initialise these pointers to avoid this. Signed-off-by: Lorenz Bauer <lmb@cloudflare.com> Acked-by: Martin KaFai Lau <kafai@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'arch/powerpc/lib/code-patching.c')
0 files changed, 0 insertions, 0 deletions