Hi Paolo,
[FYI, it's a private test report for your RFC patch.]
[auto build test WARNING on nf/master]
[also build test WARNING on linus/master v5.14-rc2 next-20210721]
[cannot apply to nf-next/master]
[If your patch is applied to the wrong git tree, kindly drop us a note.
And when submitting patch, we suggest to use '--base' as documented in
https://git-scm.com/docs/git-format-patch]
url:
https://github.com/0day-ci/linux/commits/Paolo-Abeni/sk_buff-track-nfct-s...
base:
https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf.git master
config: nios2-defconfig (attached as .config)
compiler: nios2-linux-gcc (GCC) 10.3.0
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
#
https://github.com/0day-ci/linux/commit/973d99858ab4990b527f70441c4dae8b8...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
Paolo-Abeni/sk_buff-track-nfct-status-in-newly-added-skb-_state/20210722-014505
git checkout 973d99858ab4990b527f70441c4dae8b87637c41
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-10.3.0 make.cross ARCH=nios2
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 >>):
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/linux/kasan-checks.h:5,
from include/asm-generic/rwonce.h:26,
from ./arch/nios2/include/generated/asm/rwonce.h:1,
from include/linux/compiler.h:264,
from include/linux/err.h:5,
from include/linux/kthread.h:5,
from include/trace/events/sched.h:8,
from kernel/sched/core.c:10:
include/linux/skbuff.h: In function 'skb_secmark':
> include/linux/stddef.h:8:14: warning: returning 'void *'
from a function with return type '__u32' {aka 'unsigned int'} makes
integer from pointer without a cast [-Wint-conversion]
8 | #define NULL
((void *)0)
| ^
include/linux/skbuff.h:4240:9: note: in expansion of macro 'NULL'
4240 | return NULL;
| ^~~~
kernel/sched/core.c: In function 'ttwu_stat':
kernel/sched/core.c:3270:13: warning: variable 'rq' set but not used
[-Wunused-but-set-variable]
3270 | struct rq *rq;
| ^~
--
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/uapi/linux/sched.h:5,
from include/linux/sched.h:10,
from kernel/sched/sched.h:5,
from kernel/sched/loadavg.c:9:
include/linux/skbuff.h: In function 'skb_secmark':
> include/linux/stddef.h:8:14: warning: returning 'void *'
from a function with return type '__u32' {aka 'unsigned int'} makes
integer from pointer without a cast [-Wint-conversion]
8 | #define NULL
((void *)0)
| ^
include/linux/skbuff.h:4240:9: note: in expansion of macro 'NULL'
4240 | return NULL;
| ^~~~
--
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/uapi/linux/sched.h:5,
from include/linux/sched.h:10,
from kernel/sched/sched.h:5,
from kernel/sched/fair.c:23:
include/linux/skbuff.h: In function 'skb_secmark':
> include/linux/stddef.h:8:14: warning: returning 'void *'
from a function with return type '__u32' {aka 'unsigned int'} makes
integer from pointer without a cast [-Wint-conversion]
8 | #define NULL
((void *)0)
| ^
include/linux/skbuff.h:4240:9: note: in expansion of macro 'NULL'
4240 | return NULL;
| ^~~~
kernel/sched/fair.c: At top level:
kernel/sched/fair.c:591:5: warning: no previous prototype for
'sched_update_scaling' [-Wmissing-prototypes]
591 | int sched_update_scaling(void)
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:5438:6: warning: no previous prototype for
'init_cfs_bandwidth' [-Wmissing-prototypes]
5438 | void init_cfs_bandwidth(struct cfs_bandwidth *cfs_b) {}
| ^~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11457:6: warning: no previous prototype for
'free_fair_sched_group' [-Wmissing-prototypes]
11457 | void free_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11459:5: warning: no previous prototype for
'alloc_fair_sched_group' [-Wmissing-prototypes]
11459 | int alloc_fair_sched_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11464:6: warning: no previous prototype for
'online_fair_sched_group' [-Wmissing-prototypes]
11464 | void online_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~
kernel/sched/fair.c:11466:6: warning: no previous prototype for
'unregister_fair_sched_group' [-Wmissing-prototypes]
11466 | void unregister_fair_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
--
In file included from include/uapi/linux/posix_types.h:5,
from include/uapi/linux/types.h:14,
from include/linux/types.h:6,
from include/uapi/linux/sched.h:5,
from include/linux/sched.h:10,
from kernel/sched/sched.h:5,
from kernel/sched/rt.c:6:
include/linux/skbuff.h: In function 'skb_secmark':
> include/linux/stddef.h:8:14: warning: returning 'void *'
from a function with return type '__u32' {aka 'unsigned int'} makes
integer from pointer without a cast [-Wint-conversion]
8 | #define NULL
((void *)0)
| ^
include/linux/skbuff.h:4240:9: note: in expansion of macro 'NULL'
4240 | return NULL;
| ^~~~
kernel/sched/rt.c: At top level:
kernel/sched/rt.c:253:6: warning: no previous prototype for
'free_rt_sched_group' [-Wmissing-prototypes]
253 | void free_rt_sched_group(struct task_group *tg) { }
| ^~~~~~~~~~~~~~~~~~~
kernel/sched/rt.c:255:5: warning: no previous prototype for
'alloc_rt_sched_group' [-Wmissing-prototypes]
255 | int alloc_rt_sched_group(struct task_group *tg, struct task_group *parent)
| ^~~~~~~~~~~~~~~~~~~~
kernel/sched/rt.c:669:6: warning: no previous prototype for
'sched_rt_bandwidth_account' [-Wmissing-prototypes]
669 | bool sched_rt_bandwidth_account(struct rt_rq *rt_rq)
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
vim +8 include/linux/stddef.h
^1da177e4c3f41 Linus Torvalds 2005-04-16 6
^1da177e4c3f41 Linus Torvalds 2005-04-16 7 #undef NULL
^1da177e4c3f41 Linus Torvalds 2005-04-16 @8 #define NULL ((void *)0)
6e218287432472 Richard Knutsson 2006-09-30 9
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org