lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:   Fri, 12 Nov 2021 14:15:07 +0800
From:   kernel test robot <lkp@...el.com>
To:     Tony Luck <tony.luck@...el.com>
Cc:     kbuild-all@...ts.01.org, linux-ia64@...r.kernel.org,
        linux-kernel@...r.kernel.org,
        Xiaochen Shen <xiaochen.shen@...el.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'

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@...el.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

Download attachment ".config.gz" of type "application/gzip" (66513 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ