diff options
author | Andrii Nakryiko <[email protected]> | 2021-11-03 15:08:40 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2021-11-07 08:34:23 -0800 |
commit | 5c5edcdebfcf3a95257b0d8ef27a60af0e0ea03a (patch) | |
tree | ccf32107af2247fcd6fd71877851fdffbbfb4aff /lib/test_overflow.c | |
parent | a3c7c7e8050fc299b42fa3d89bac253a8dfa5c0c (diff) |
libbpf: Remove deprecation attribute from struct bpf_prog_prep_result
This deprecation annotation has no effect because for struct deprecation
attribute has to be declared after struct definition. But instead of
moving it to the end of struct definition, remove it. When deprecation
will go in effect at libbpf v0.7, this deprecation attribute will cause
libbpf's own source code compilation to trigger deprecation warnings,
which is unavoidable because libbpf still has to support that API.
So keep deprecation of APIs, but don't mark structs used in API as
deprecated.
Fixes: e21d585cb3db ("libbpf: Deprecate multi-instance bpf_program APIs")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Dave Marchevsky <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions