tree:
https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git bpf/attach
head: 309b598ba309017a35c6659304b00395d39c0ecb
commit: 3cc705bd3baca93ef99d89d069bcb53c8c6d1626 [5/18] attach test
config: arm-randconfig-r012-20201018 (attached as .config)
compiler: clang version 12.0.0 (
https://github.com/llvm/llvm-project
2a75e956e5ce7ea212333a86fe65fc68185cbf48)
reproduce (this is a W=1 build):
wget
https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O
~/bin/make.cross
chmod +x ~/bin/make.cross
# install arm cross compiling tool for clang build
# apt-get install binutils-arm-linux-gnueabi
#
https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git/commit/?id...
git remote add jolsa-perf
https://git.kernel.org/pub/scm/linux/kernel/git/jolsa/perf.git
git fetch --no-tags jolsa-perf bpf/attach
git checkout 3cc705bd3baca93ef99d89d069bcb53c8c6d1626
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=arm
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp(a)intel.com>
All warnings (new ones prefixed by >>):
net/bpf/test_run.c:121:14: warning: no previous prototype for function
'bpf_fentry_test1' [-Wmissing-prototypes]
int noinline bpf_fentry_test1(int a)
^
net/bpf/test_run.c:121:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test1(int a)
^
static
net/bpf/test_run.c:126:14: warning: no previous prototype for function
'bpf_fentry_test2' [-Wmissing-prototypes]
int noinline bpf_fentry_test2(int a, u64 b)
^
net/bpf/test_run.c:126:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test2(int a, u64 b)
^
static
net/bpf/test_run.c:131:14: warning: no previous prototype for function
'bpf_fentry_test3' [-Wmissing-prototypes]
int noinline bpf_fentry_test3(char a, int b, u64 c)
^
net/bpf/test_run.c:131:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test3(char a, int b, u64 c)
^
static
net/bpf/test_run.c:136:14: warning: no previous prototype for function
'bpf_fentry_test4' [-Wmissing-prototypes]
int noinline bpf_fentry_test4(void *a, char b, int c, u64 d)
^
net/bpf/test_run.c:136:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test4(void *a, char b, int c, u64 d)
^
static
net/bpf/test_run.c:141:14: warning: no previous prototype for function
'bpf_fentry_test5' [-Wmissing-prototypes]
int noinline bpf_fentry_test5(u64 a, void *b, short c, int d, u64 e)
^
net/bpf/test_run.c:141:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test5(u64 a, void *b, short c, int d, u64 e)
^
static
net/bpf/test_run.c:146:14: warning: no previous prototype for function
'bpf_fentry_test6' [-Wmissing-prototypes]
int noinline bpf_fentry_test6(u64 a, void *b, short c, int d, void *e, u64 f)
^
net/bpf/test_run.c:146:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test6(u64 a, void *b, short c, int d, void *e, u64 f)
^
static
net/bpf/test_run.c:155:14: warning: no previous prototype for function
'bpf_fentry_test7' [-Wmissing-prototypes]
int noinline bpf_fentry_test7(struct bpf_fentry_test_t *arg)
^
net/bpf/test_run.c:155:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test7(struct bpf_fentry_test_t *arg)
^
static
net/bpf/test_run.c:160:14: warning: no previous prototype for function
'bpf_fentry_test8' [-Wmissing-prototypes]
int noinline bpf_fentry_test8(struct bpf_fentry_test_t *arg)
^
net/bpf/test_run.c:160:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_fentry_test8(struct bpf_fentry_test_t *arg)
^
static
net/bpf/test_run.c:165:14: warning: no previous prototype for function
'bpf_modify_return_test' [-Wmissing-prototypes]
int noinline bpf_modify_return_test(int a, int *b)
^
net/bpf/test_run.c:165:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
int noinline bpf_modify_return_test(int a, int *b)
^
static
> net/bpf/test_run.c:174:1: warning: no previous prototype for
function 'bpf_attach_test0' [-Wmissing-prototypes]
ATTACH_TEST(0)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:126:1: note: expanded from here
bpf_attach_test0
^
net/bpf/test_run.c:174:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(0)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:175:1: warning: no previous prototype for
function 'bpf_attach_test1' [-Wmissing-prototypes]
ATTACH_TEST(1)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:127:1: note: expanded from here
bpf_attach_test1
^
net/bpf/test_run.c:175:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(1)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:176:1: warning: no previous prototype for
function 'bpf_attach_test2' [-Wmissing-prototypes]
ATTACH_TEST(2)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:128:1: note: expanded from here
bpf_attach_test2
^
net/bpf/test_run.c:176:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(2)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:177:1: warning: no previous prototype for
function 'bpf_attach_test3' [-Wmissing-prototypes]
ATTACH_TEST(3)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:129:1: note: expanded from here
bpf_attach_test3
^
net/bpf/test_run.c:177:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(3)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:178:1: warning: no previous prototype for
function 'bpf_attach_test4' [-Wmissing-prototypes]
ATTACH_TEST(4)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:130:1: note: expanded from here
bpf_attach_test4
^
net/bpf/test_run.c:178:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(4)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:179:1: warning: no previous prototype for
function 'bpf_attach_test5' [-Wmissing-prototypes]
ATTACH_TEST(5)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:131:1: note: expanded from here
bpf_attach_test5
^
net/bpf/test_run.c:179:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(5)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:180:1: warning: no previous prototype for
function 'bpf_attach_test6' [-Wmissing-prototypes]
ATTACH_TEST(6)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:132:1: note: expanded from here
bpf_attach_test6
^
net/bpf/test_run.c:180:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(6)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:181:1: warning: no previous prototype for
function 'bpf_attach_test7' [-Wmissing-prototypes]
ATTACH_TEST(7)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:133:1: note: expanded from here
bpf_attach_test7
^
net/bpf/test_run.c:181:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(7)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:182:1: warning: no previous prototype for
function 'bpf_attach_test8' [-Wmissing-prototypes]
ATTACH_TEST(8)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:134:1: note: expanded from here
bpf_attach_test8
^
net/bpf/test_run.c:182:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(8)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:183:1: warning: no previous prototype for
function 'bpf_attach_test9' [-Wmissing-prototypes]
ATTACH_TEST(9)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:135:1: note: expanded from here
bpf_attach_test9
^
net/bpf/test_run.c:183:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(9)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:184:1: warning: no previous prototype for
function 'bpf_attach_test10' [-Wmissing-prototypes]
ATTACH_TEST(10)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:136:1: note: expanded from here
bpf_attach_test10
^
net/bpf/test_run.c:184:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(10)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:185:1: warning: no previous prototype for
function 'bpf_attach_test11' [-Wmissing-prototypes]
ATTACH_TEST(11)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:137:1: note: expanded from here
bpf_attach_test11
^
net/bpf/test_run.c:185:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(11)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:186:1: warning: no previous prototype for
function 'bpf_attach_test12' [-Wmissing-prototypes]
ATTACH_TEST(12)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:138:1: note: expanded from here
bpf_attach_test12
^
net/bpf/test_run.c:186:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(12)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:187:1: warning: no previous prototype for
function 'bpf_attach_test13' [-Wmissing-prototypes]
ATTACH_TEST(13)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:139:1: note: expanded from here
bpf_attach_test13
^
net/bpf/test_run.c:187:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(13)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:188:1: warning: no previous prototype for
function 'bpf_attach_test14' [-Wmissing-prototypes]
ATTACH_TEST(14)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:140:1: note: expanded from here
bpf_attach_test14
^
net/bpf/test_run.c:188:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(14)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:189:1: warning: no previous prototype for
function 'bpf_attach_test15' [-Wmissing-prototypes]
ATTACH_TEST(15)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:141:1: note: expanded from here
bpf_attach_test15
^
net/bpf/test_run.c:189:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(15)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:190:1: warning: no previous prototype for
function 'bpf_attach_test16' [-Wmissing-prototypes]
ATTACH_TEST(16)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:142:1: note: expanded from here
bpf_attach_test16
^
net/bpf/test_run.c:190:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(16)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:191:1: warning: no previous prototype for
function 'bpf_attach_test17' [-Wmissing-prototypes]
ATTACH_TEST(17)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:143:1: note: expanded from here
bpf_attach_test17
^
net/bpf/test_run.c:191:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(17)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:192:1: warning: no previous prototype for
function 'bpf_attach_test18' [-Wmissing-prototypes]
ATTACH_TEST(18)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:144:1: note: expanded from here
bpf_attach_test18
^
net/bpf/test_run.c:192:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(18)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
> net/bpf/test_run.c:193:1: warning: no previous prototype for
function 'bpf_attach_test19' [-Wmissing-prototypes]
ATTACH_TEST(19)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:145:1: note: expanded from here
bpf_attach_test19
^
net/bpf/test_run.c:193:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(19)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
net/bpf/test_run.c:194:1: warning: no previous prototype for function
'bpf_attach_test20' [-Wmissing-prototypes]
ATTACH_TEST(20)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:146:1: note: expanded from here
bpf_attach_test20
^
net/bpf/test_run.c:194:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(20)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
net/bpf/test_run.c:195:1: warning: no previous prototype for function
'bpf_attach_test21' [-Wmissing-prototypes]
ATTACH_TEST(21)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:147:1: note: expanded from here
bpf_attach_test21
^
net/bpf/test_run.c:195:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(21)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
net/bpf/test_run.c:196:1: warning: no previous prototype for function
'bpf_attach_test22' [-Wmissing-prototypes]
ATTACH_TEST(22)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:148:1: note: expanded from here
bpf_attach_test22
^
net/bpf/test_run.c:196:1: note: declare 'static' if the function is not
intended to be used outside of this translation unit
ATTACH_TEST(22)
^
static
net/bpf/test_run.c:172:2: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
net/bpf/test_run.c:197:1: warning: no previous prototype for function
'bpf_attach_test23' [-Wmissing-prototypes]
ATTACH_TEST(23)
^
net/bpf/test_run.c:172:15: note: expanded from macro 'ATTACH_TEST'
int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
^
include/linux/compiler_types.h:60:22: note: expanded from macro '__PASTE'
#define __PASTE(a,b) ___PASTE(a,b)
^
include/linux/compiler_types.h:59:23: note: expanded from macro '___PASTE'
#define ___PASTE(a,b) a##b
^
<scratch space>:149:1: note: expanded from here
vim +/bpf_attach_test0 +174 net/bpf/test_run.c
170
171 #define ATTACH_TEST(__n) \
172 int noinline __PASTE(bpf_attach_test, __n)(void) { return 0; }
173
174 ATTACH_TEST(0)
175 ATTACH_TEST(1)
176 ATTACH_TEST(2)
177 ATTACH_TEST(3)
178 ATTACH_TEST(4)
179 ATTACH_TEST(5)
180 ATTACH_TEST(6)
181 ATTACH_TEST(7)
182 ATTACH_TEST(8)
183 ATTACH_TEST(9)
184 ATTACH_TEST(10)
185 ATTACH_TEST(11)
186 ATTACH_TEST(12)
187 ATTACH_TEST(13)
188 ATTACH_TEST(14)
189 ATTACH_TEST(15)
190 ATTACH_TEST(16)
191 ATTACH_TEST(17)
192 ATTACH_TEST(18)
193 ATTACH_TEST(19)
194 ATTACH_TEST(20)
195 ATTACH_TEST(21)
196 ATTACH_TEST(22)
197 ATTACH_TEST(23)
198 ATTACH_TEST(24)
199 ATTACH_TEST(25)
200 ATTACH_TEST(26)
201 ATTACH_TEST(27)
202 ATTACH_TEST(28)
203 ATTACH_TEST(29)
204 ATTACH_TEST(30)
205 ATTACH_TEST(31)
206 ATTACH_TEST(32)
207 ATTACH_TEST(33)
208 ATTACH_TEST(34)
209 ATTACH_TEST(35)
210 ATTACH_TEST(36)
211 ATTACH_TEST(37)
212 ATTACH_TEST(38)
213 ATTACH_TEST(39)
214 ATTACH_TEST(40)
215 ATTACH_TEST(41)
216 ATTACH_TEST(42)
217 ATTACH_TEST(43)
218 ATTACH_TEST(44)
219 ATTACH_TEST(45)
220 ATTACH_TEST(46)
221 ATTACH_TEST(47)
222 ATTACH_TEST(48)
223 ATTACH_TEST(49)
224
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org