mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-23 12:43:55 +08:00
selftests/bpf: Mark variable as static
Fix warnings from checkstyle.pl Signed-off-by: Yucong Sun <sunyucong@gmail.com> Signed-off-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20211112192535.898352-4-fallentree@fb.com
This commit is contained in:
parent
67d61d30b8
commit
db813d7bd9
@ -473,11 +473,11 @@ static struct prog_test_def prog_test_defs[] = {
|
||||
#include <prog_tests/tests.h>
|
||||
#undef DEFINE_TEST
|
||||
};
|
||||
const int prog_test_cnt = ARRAY_SIZE(prog_test_defs);
|
||||
static const int prog_test_cnt = ARRAY_SIZE(prog_test_defs);
|
||||
|
||||
const char *argp_program_version = "test_progs 0.1";
|
||||
const char *argp_program_bug_address = "<bpf@vger.kernel.org>";
|
||||
const char argp_program_doc[] = "BPF selftests test runner";
|
||||
static const char argp_program_doc[] = "BPF selftests test runner";
|
||||
|
||||
enum ARG_KEYS {
|
||||
ARG_TEST_NUM = 'n',
|
||||
|
Loading…
Reference in New Issue
Block a user