lkml.org 
[lkml]   [2021]   [Nov]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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'
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
[unhandled content-type:application/gzip]
\
 
 \ /
  Last update: 2021-11-12 07:15    [W:0.040 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site