From: kernel test robot <lkp@intel.com>
To: Tony Luck <tony.luck@intel.com>
Cc: kbuild-all@lists.01.org, linux-ia64@vger.kernel.org,
linux-kernel@vger.kernel.org,
Xiaochen Shen <xiaochen.shen@intel.com>
Subject: [aegl:dsa_page_zero_prototype 30/39] mm/page_alloc.c:167:14: error: 'engine_cleanup' defined but not
Date: Thu, 11 Nov 2021 22:13:05 +0000 [thread overview]
Message-ID: <202111120600.SMkjJHs6-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 2316 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git dsa_page_zero_prototype
head: 443bff56d346197a2f8c09c7159ebc9e7440429b
commit: 1cbda083dce71e5bcaeae60233ae5ed7eaa519b5 [30/39] mm/pagezero: Add page zero engine register/unregister functions
config: arc-allyesconfig (attached as .config)
compiler: arceb-elf-gcc (GCC) 11.2.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://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git/commit/?id=1cbda083dce71e5bcaeae60233ae5ed7eaa519b5
git remote add aegl https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git
git fetch --no-tags aegl dsa_page_zero_prototype
git checkout 1cbda083dce71e5bcaeae60233ae5ed7eaa519b5
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=arc
If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>
All errors (new ones prefixed by >>):
mm/page_alloc.c:3785:15: error: no previous prototype for 'should_fail_alloc_page' [-Werror=missing-prototypes]
3785 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
| ^~~~~~~~~~~~~~~~~~~~~~
>> mm/page_alloc.c:167:14: error: 'engine_cleanup' defined but not used [-Werror=unused-variable]
167 | static int (*engine_cleanup)(int node, void **v);
| ^~~~~~~~~~~~~~
>> mm/page_alloc.c:163:16: error: 'alloc_zone_private' defined but not used [-Werror=unused-variable]
163 | static void *(*alloc_zone_private)(int node);
| ^~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/engine_cleanup +167 mm/page_alloc.c
162
> 163 static void *(*alloc_zone_private)(int node);
164 static int (*get_zero_pages)(void *private, int migratetype, int want,
165 struct list_head *l, int *countp);
166 static void (*provide_page)(void *v, struct page *page);
> 167 static int (*engine_cleanup)(int node, void **v);
168
---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org
[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 69482 bytes --]
reply other threads:[~2021-11-11 22:13 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=202111120600.SMkjJHs6-lkp@intel.com \
--to=lkp@intel.com \
--cc=kbuild-all@lists.01.org \
--cc=linux-ia64@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
--cc=xiaochen.shen@intel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox