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 31/39] drivers/dma/idxd/dsa_page_clear_engine.c:29:5: error: no previous prototype for 'get_clear_pages'
Date: Fri, 12 Nov 2021 14:15:07 +0800 [thread overview]
Message-ID: <202111121402.dpUImB2d-lkp@intel.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 1963 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git dsa_page_zero_prototype
head: 443bff56d346197a2f8c09c7159ebc9e7440429b
commit: ec41aa6ef6cba25e349a04e3b4cc1e37217d54f6 [31/39] mm/pagezero: Add stub driver to test registration API
config: x86_64-allyesconfig (attached as .config)
compiler: gcc-9 (Debian 9.3.0-22) 9.3.0
reproduce (this is a W=1 build):
# https://git.kernel.org/pub/scm/linux/kernel/git/aegl/linux.git/commit/?id=ec41aa6ef6cba25e349a04e3b4cc1e37217d54f6
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 ec41aa6ef6cba25e349a04e3b4cc1e37217d54f6
# save the attached .config to linux build tree
make W=1 ARCH=x86_64
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 >>):
>> drivers/dma/idxd/dsa_page_clear_engine.c:29:5: error: no previous prototype for 'get_clear_pages' [-Werror=missing-prototypes]
29 | int get_clear_pages(void *v, int migratetype, int want, struct list_head *l, int *countp)
| ^~~~~~~~~~~~~~~
>> drivers/dma/idxd/dsa_page_clear_engine.c:35:6: error: no previous prototype for 'add_new_page' [-Werror=missing-prototypes]
35 | void add_new_page(void *v, struct page *page)
| ^~~~~~~~~~~~
cc1: all warnings being treated as errors
vim +/get_clear_pages +29 drivers/dma/idxd/dsa_page_clear_engine.c
27
28 /* Called with zone->lock held */
> 29 int get_clear_pages(void *v, int migratetype, int want, struct list_head *l, int *countp)
30 {
31 return 0;
32 }
33
34 /* Called with zone->lock held */
> 35 void add_new_page(void *v, struct page *page)
36 {
37 }
38
---
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: 66513 bytes --]
reply other threads:[~2021-11-12 6:15 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=202111121402.dpUImB2d-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