diff options
| author | Andrii Nakryiko <[email protected]> | 2020-08-21 22:55:56 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2020-08-24 21:48:19 +0000 |
| commit | 3418c56de81fd73f2265c8915f4b910bcc141cb7 (patch) | |
| tree | 7fda40b14656a8f540ce6d70c8dfc7b47d6ed9d8 /security/bpf/hooks.c | |
| parent | bpf: sk_lookup: Add user documentation (diff) | |
| download | kernel-3418c56de81fd73f2265c8915f4b910bcc141cb7.tar.gz kernel-3418c56de81fd73f2265c8915f4b910bcc141cb7.zip | |
libbpf: Avoid false unuinitialized variable warning in bpf_core_apply_relo
Some versions of GCC report uninitialized targ_spec usage. GCC is wrong, but
let's avoid unnecessary warnings.
Fixes: ddc7c3042614 ("libbpf: implement BPF CO-RE offset relocation algorithm")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'security/bpf/hooks.c')
0 files changed, 0 insertions, 0 deletions
