diff options
| author | James Hilliard <james.hilliard1@gmail.com> | 2022-08-26 06:51:39 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-08-27 08:07:01 +0300 |
| commit | b05d64efbb21ad231516b44317af34d2b586cfc4 (patch) | |
| tree | ee053e95928082cfbb37bf0029c025f1704bb0eb /drivers/usb/cdns3/cdnsp-debug.h | |
| parent | ab9ac19c4d0615fee40ec7d49fa16c9fd33f61f8 (diff) | |
| download | linux-b05d64efbb21ad231516b44317af34d2b586cfc4.tar.xz | |
selftests/bpf: Declare subprog_noise as static in tailcall_bpf2bpf4
Due to bpf_map_lookup_elem being declared static we need to also
declare subprog_noise as static.
Fixes the following error:
progs/tailcall_bpf2bpf4.c:26:9: error: 'bpf_map_lookup_elem' is static but used in inline function 'subprog_noise' which is not static [-Werror]
26 | bpf_map_lookup_elem(&nop_table, &key);
| ^~~~~~~~~~~~~~~~~~~
Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20220826035141.737919-1-james.hilliard1@gmail.com
Diffstat (limited to 'drivers/usb/cdns3/cdnsp-debug.h')
0 files changed, 0 insertions, 0 deletions
