linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [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'
@ 2021-11-12  6:15 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2021-11-12  6:15 UTC (permalink / raw)
  To: Tony Luck; +Cc: kbuild-all, linux-ia64, linux-kernel, Xiaochen Shen

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-11-12  6:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-12  6:15 [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' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).