tree:
https://github.com/0day-ci/linux/commits/UPDATE-20210113-204436/Marcelo-T...
head: 472522295b2f1f19da07d09e17be4f6e20a06521
commit: 472522295b2f1f19da07d09e17be4f6e20a06521 tentative prctl task isolation interface
date: 14 hours ago
config: nios2-randconfig-r015-20210113 (attached as .config)
compiler: nios2-linux-gcc (GCC) 9.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/472522295b2f1f19da07d09e17be4f6e2...
git remote add linux-review
https://github.com/0day-ci/linux
git fetch --no-tags linux-review
UPDATE-20210113-204436/Marcelo-Tosatti/mm-introduce-sysctl-file-to-flush-per-cpu-vmstat-statistics/20201118-002950
git checkout 472522295b2f1f19da07d09e17be4f6e20a06521
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-9.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 error/warnings (new ones prefixed by >>):
In file included from kernel/isolation.c:13:
include/linux/vmstat.h: In function '__inc_zone_page_state':
> include/linux/vmstat.h:351:19: error: implicit declaration of
function 'page_zone' [-Werror=implicit-function-declaration]
351 |
__inc_zone_state(page_zone(page), item);
| ^~~~~~~~~
> include/linux/vmstat.h:351:19: warning: passing argument 1 of
'__inc_zone_state' makes pointer from integer without a cast [-Wint-conversion]
351 | __inc_zone_state(page_zone(page), item);
| ^~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:324:50: note: expected 'struct zone *' but argument is
of type 'int'
324 | static inline void __inc_zone_state(struct zone *zone, enum zone_stat_item
item)
| ~~~~~~~~~~~~~^~~~
include/linux/vmstat.h: In function '__inc_node_page_state':
> include/linux/vmstat.h:357:19: error: implicit declaration of
function 'page_pgdat'; did you mean 'page_private'?
[-Werror=implicit-function-declaration]
357 |
__inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~
| page_private
> include/linux/vmstat.h:357:19: warning: passing argument 1 of
'__inc_node_state' makes pointer from integer without a cast [-Wint-conversion]
357 | __inc_node_state(page_pgdat(page), item);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:330:57: note: expected 'struct pglist_data *' but
argument is of type 'int'
330 | static inline void __inc_node_state(struct pglist_data *pgdat, enum
node_stat_item item)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
include/linux/vmstat.h: In function '__dec_zone_page_state':
> include/linux/vmstat.h:364:19: warning: passing argument 1 of
'__dec_zone_state' makes pointer from integer without a cast [-Wint-conversion]
364 | __dec_zone_state(page_zone(page), item);
| ^~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:336:50: note: expected 'struct zone *' but argument is
of type 'int'
336 | static inline void __dec_zone_state(struct zone *zone, enum zone_stat_item
item)
| ~~~~~~~~~~~~~^~~~
include/linux/vmstat.h: In function '__dec_node_page_state':
> include/linux/vmstat.h:370:19: warning: passing argument 1 of
'__dec_node_state' makes pointer from integer without a cast [-Wint-conversion]
370 | __dec_node_state(page_pgdat(page), item);
| ^~~~~~~~~~~~~~~~
| |
| int
include/linux/vmstat.h:342:57: note: expected 'struct pglist_data *' but
argument is of type 'int'
342 | static inline void __dec_node_state(struct pglist_data *pgdat, enum
node_stat_item item)
| ~~~~~~~~~~~~~~~~~~~~^~~~~
kernel/isolation.c: In function 'prctl_task_isolation_request':
> kernel/isolation.c:38:8: error: implicit declaration of function
'user_quiet_vmstat'; did you mean 'quiet_vmstat'?
[-Werror=implicit-function-declaration]
38 | ret = user_quiet_vmstat(cpu);
| ^~~~~~~~~~~~~~~~~
| quiet_vmstat
cc1: some warnings being treated as errors
vim +/page_zone +351 include/linux/vmstat.h
c878538598d1e7 Christoph Lameter 2007-02-10 347
6a3ed2123a78de Johannes Weiner 2014-04-03 348 static inline void
__inc_zone_page_state(struct page *page,
6a3ed2123a78de Johannes Weiner 2014-04-03 349 enum zone_stat_item item)
6a3ed2123a78de Johannes Weiner 2014-04-03 350 {
6a3ed2123a78de Johannes Weiner 2014-04-03 @351 __inc_zone_state(page_zone(page),
item);
6a3ed2123a78de Johannes Weiner 2014-04-03 352 }
6a3ed2123a78de Johannes Weiner 2014-04-03 353
75ef7184053989 Mel Gorman 2016-07-28 354 static inline void
__inc_node_page_state(struct page *page,
75ef7184053989 Mel Gorman 2016-07-28 355 enum node_stat_item item)
75ef7184053989 Mel Gorman 2016-07-28 356 {
75ef7184053989 Mel Gorman 2016-07-28 @357 __inc_node_state(page_pgdat(page),
item);
75ef7184053989 Mel Gorman 2016-07-28 358 }
75ef7184053989 Mel Gorman 2016-07-28 359
75ef7184053989 Mel Gorman 2016-07-28 360
2244b95a7bcf8d Christoph Lameter 2006-06-30 361 static inline void
__dec_zone_page_state(struct page *page,
2244b95a7bcf8d Christoph Lameter 2006-06-30 362 enum zone_stat_item item)
2244b95a7bcf8d Christoph Lameter 2006-06-30 363 {
57ce36feb4d128 Uwe Kleine-König 2008-02-25 @364 __dec_zone_state(page_zone(page),
item);
2244b95a7bcf8d Christoph Lameter 2006-06-30 365 }
2244b95a7bcf8d Christoph Lameter 2006-06-30 366
75ef7184053989 Mel Gorman 2016-07-28 367 static inline void
__dec_node_page_state(struct page *page,
75ef7184053989 Mel Gorman 2016-07-28 368 enum node_stat_item item)
75ef7184053989 Mel Gorman 2016-07-28 369 {
75ef7184053989 Mel Gorman 2016-07-28 @370 __dec_node_state(page_pgdat(page),
item);
75ef7184053989 Mel Gorman 2016-07-28 371 }
75ef7184053989 Mel Gorman 2016-07-28 372
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org