diff options
author | Jiri Benc <jbenc@redhat.com> | 2019-07-02 20:26:51 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-07-03 15:06:33 +0200 |
commit | d2f5bbbc350050895d9f33c2744a61f9e0af1caa (patch) | |
tree | 16c2e73e7fccf67fdb0802634eaff677bf4c1055 /tools/testing/selftests/bpf/progs/test_verif_scale2.c | |
parent | 71634d7f92093062e7b8b2a9efffa5569edcca8b (diff) | |
download | linux-next-d2f5bbbc350050895d9f33c2744a61f9e0af1caa.tar.gz |
selftests: bpf: standardize to static __always_inline
The progs for bpf selftests use several different notations to force
function inlining. Standardize to what most of them use,
static __always_inline.
Suggested-by: Song Liu <liu.song.a23@gmail.com>
Signed-off-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_verif_scale2.c')
-rw-r--r-- | tools/testing/selftests/bpf/progs/test_verif_scale2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/bpf/progs/test_verif_scale2.c b/tools/testing/selftests/bpf/progs/test_verif_scale2.c index 77830693eccb..9897150ed516 100644 --- a/tools/testing/selftests/bpf/progs/test_verif_scale2.c +++ b/tools/testing/selftests/bpf/progs/test_verif_scale2.c @@ -2,7 +2,7 @@ // Copyright (c) 2019 Facebook #include <linux/bpf.h> #include "bpf_helpers.h" -#define ATTR __attribute__((always_inline)) +#define ATTR __always_inline #include "test_jhash.h" SEC("scale90_inline") |