All of lore.kernel.org
 help / color / mirror / Atom feed
* mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page'
@ 2021-11-11 15:46 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-11 15:46 UTC (permalink / raw)
  To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann, Josef Bacik

[-- Attachment #1: Type: text/plain, Size: 2088 bytes --]

Hi Alexei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   debe436e77c72fcee804fb867f275e6d31aa999c
commit: 76cd61739fd107a7f7ec4c24a045e98d8ee150f0 mm/error_inject: Fix allow_error_inject function signatures.
date:   1 year, 2 months ago
config: nds32-buildonly-randconfig-r002-20210927 (attached as .config)
compiler: nds32le-linux-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/torvalds/linux.git/commit/?id=76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes]
    3480 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
         |               ^~~~~~~~~~~~~~~~~~~~~~
   mm/page_alloc.c:6120:23: warning: no previous prototype for 'memmap_init' [-Wmissing-prototypes]
    6120 | void __meminit __weak memmap_init(unsigned long size, int nid,
         |                       ^~~~~~~~~~~


vim +/should_fail_alloc_page +3480 mm/page_alloc.c

  3479	
> 3480	noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
  3481	{
  3482		return __should_fail_alloc_page(gfp_mask, order);
  3483	}
  3484	ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
  3485	

---
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: 27427 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page'
@ 2021-11-11 15:46 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-11-11 15:46 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2136 bytes --]

Hi Alexei,

FYI, the error/warning still remains.

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   debe436e77c72fcee804fb867f275e6d31aa999c
commit: 76cd61739fd107a7f7ec4c24a045e98d8ee150f0 mm/error_inject: Fix allow_error_inject function signatures.
date:   1 year, 2 months ago
config: nds32-buildonly-randconfig-r002-20210927 (attached as .config)
compiler: nds32le-linux-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/torvalds/linux.git/commit/?id=76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes]
    3480 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
         |               ^~~~~~~~~~~~~~~~~~~~~~
   mm/page_alloc.c:6120:23: warning: no previous prototype for 'memmap_init' [-Wmissing-prototypes]
    6120 | void __meminit __weak memmap_init(unsigned long size, int nid,
         |                       ^~~~~~~~~~~


vim +/should_fail_alloc_page +3480 mm/page_alloc.c

  3479	
> 3480	noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
  3481	{
  3482		return __should_fail_alloc_page(gfp_mask, order);
  3483	}
  3484	ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
  3485	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27427 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page'
@ 2021-09-27 18:20 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-09-27 18:20 UTC (permalink / raw)
  To: Alexei Starovoitov; +Cc: kbuild-all, linux-kernel, Daniel Borkmann, Josef Bacik

[-- Attachment #1: Type: text/plain, Size: 2036 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 76cd61739fd107a7f7ec4c24a045e98d8ee150f0 mm/error_inject: Fix allow_error_inject function signatures.
date:   1 year, 1 month ago
config: nds32-buildonly-randconfig-r002-20210927 (attached as .config)
compiler: nds32le-linux-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/torvalds/linux.git/commit/?id=76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes]
    3480 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
         |               ^~~~~~~~~~~~~~~~~~~~~~
   mm/page_alloc.c:6120:23: warning: no previous prototype for 'memmap_init' [-Wmissing-prototypes]
    6120 | void __meminit __weak memmap_init(unsigned long size, int nid,
         |                       ^~~~~~~~~~~


vim +/should_fail_alloc_page +3480 mm/page_alloc.c

  3479	
> 3480	noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
  3481	{
  3482		return __should_fail_alloc_page(gfp_mask, order);
  3483	}
  3484	ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
  3485	

---
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: 27427 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page'
@ 2021-09-27 18:20 ` kernel test robot
  0 siblings, 0 replies; 4+ messages in thread
From: kernel test robot @ 2021-09-27 18:20 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 2080 bytes --]

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
head:   92477dd1faa650e50bd3bb35a6c0b8d09198cc35
commit: 76cd61739fd107a7f7ec4c24a045e98d8ee150f0 mm/error_inject: Fix allow_error_inject function signatures.
date:   1 year, 1 month ago
config: nds32-buildonly-randconfig-r002-20210927 (attached as .config)
compiler: nds32le-linux-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/torvalds/linux.git/commit/?id=76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        git remote add linus https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
        git fetch --no-tags linus master
        git checkout 76cd61739fd107a7f7ec4c24a045e98d8ee150f0
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross ARCH=nds32 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All warnings (new ones prefixed by >>):

>> mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page' [-Wmissing-prototypes]
    3480 | noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
         |               ^~~~~~~~~~~~~~~~~~~~~~
   mm/page_alloc.c:6120:23: warning: no previous prototype for 'memmap_init' [-Wmissing-prototypes]
    6120 | void __meminit __weak memmap_init(unsigned long size, int nid,
         |                       ^~~~~~~~~~~


vim +/should_fail_alloc_page +3480 mm/page_alloc.c

  3479	
> 3480	noinline bool should_fail_alloc_page(gfp_t gfp_mask, unsigned int order)
  3481	{
  3482		return __should_fail_alloc_page(gfp_mask, order);
  3483	}
  3484	ALLOW_ERROR_INJECTION(should_fail_alloc_page, TRUE);
  3485	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 27427 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-11-11 15:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-11 15:46 mm/page_alloc.c:3480:15: warning: no previous prototype for 'should_fail_alloc_page' kernel test robot
2021-11-11 15:46 ` kernel test robot
  -- strict thread matches above, loose matches on Subject: below --
2021-09-27 18:20 kernel test robot
2021-09-27 18:20 ` kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.