[<prev] [next>] [day] [month] [year] [list]
Message-ID: <202110150007.Gbgg02cB-lkp@intel.com>
Date: Fri, 15 Oct 2021 00:15:14 +0800
From: kernel test robot <lkp@...el.com>
To: Vasily Averin <vvs@...tuozzo.com>
Cc: kbuild-all@...ts.01.org, linux-kernel@...r.kernel.org,
0day robot <lkp@...el.com>
Subject: include/linux/memcontrol.h:1804:5: error: no previous prototype for
'memcg_charge_bulk_pages'
tree: https://github.com/0day-ci/linux/commits/UPDATE-20211014-160451/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
head: 834132e4456c615433314628b950f9dd10406698
commit: 834132e4456c615433314628b950f9dd10406698 memcg: enable memory accounting in __alloc_pages_bulk
date: 8 hours ago
config: i386-buildonly-randconfig-r004-20211014 (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://github.com/0day-ci/linux/commit/834132e4456c615433314628b950f9dd10406698
git remote add linux-review https://github.com/0day-ci/linux
git fetch --no-tags linux-review UPDATE-20211014-160451/Vasily-Averin/memcg-enable-memory-accounting-in-__alloc_pages_bulk/20211008-172703
git checkout 834132e4456c615433314628b950f9dd10406698
# save the attached .config to linux build tree
make W=1 ARCH=i386
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@...el.com>
All errors (new ones prefixed by >>):
In file included from include/linux/swap.h:9,
from include/linux/suspend.h:5,
from arch/x86/kernel/asm-offsets.c:13:
>> include/linux/memcontrol.h:1804:5: error: no previous prototype for 'memcg_charge_bulk_pages' [-Werror=missing-prototypes]
1804 | int memcg_charge_bulk_pages(gfp_t gfp, int nr_pages,
| ^~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
make[2]: *** [scripts/Makefile.build:122: arch/x86/kernel/asm-offsets.s] Error 1
make[2]: Target '__build' not remade because of errors.
make[1]: *** [Makefile:1315: prepare0] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:226: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +/memcg_charge_bulk_pages +1804 include/linux/memcontrol.h
1803
> 1804 int memcg_charge_bulk_pages(gfp_t gfp, int nr_pages,
1805 struct list_head *page_list,
1806 struct page **page_array)
1807 {
1808 return 0;
1809 }
1810 #endif /* CONFIG_MEMCG_KMEM */
1811
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
Download attachment ".config.gz" of type "application/gzip" (35462 bytes)
Powered by blists - more mailing lists