All of lore.kernel.org
 help / color / mirror / Atom feed
* [rppt:direct-map/v0 5/7] mm/vmalloc.h:41:33: error: implicit declaration of function 'get_vm_area_page_order'; did you mean 'get_vm_area_caller'?
@ 2026-07-06 13:29 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2026-07-06 13:29 UTC (permalink / raw)
  To: Mike Rapoport (Microsoft); +Cc: oe-kbuild-all

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/rppt/linux.git direct-map/v0
head:   21effbca0418e549e468c2141da5ba1ef83f06fb
commit: 741e3d404d2d11569c68f713ebd9345e283f8455 [5/7] mm/vmalloc: pull out set_direct_map into mm/vmalloc.h ...
config: m68k-allnoconfig (https://download.01.org/0day-ci/archive/20260706/202607062121.of7yzsQp-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 16.1.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260706/202607062121.of7yzsQp-lkp@intel.com/reproduce)

If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202607062121.of7yzsQp-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from mm/mm_init.c:38:
   mm/vmalloc.h: In function 'vm_area_set_direct_map':
>> mm/vmalloc.h:41:33: error: implicit declaration of function 'get_vm_area_page_order'; did you mean 'get_vm_area_caller'? [-Wimplicit-function-declaration]
      41 |         unsigned int nr = (1 << get_vm_area_page_order(vm));
         |                                 ^~~~~~~~~~~~~~~~~~~~~~
         |                                 get_vm_area_caller


vim +41 mm/vmalloc.h

    37	
    38	static inline void vm_area_set_direct_map(struct vm_struct *vm,
    39			int (*set_direct_map)(const void *addr, unsigned long numpages))
    40	{
  > 41		unsigned int nr = (1 << get_vm_area_page_order(vm));
    42		int err = 0;
    43	
    44		for (int i = 0; i < vm->nr_pages; i += nr) {
    45			err = set_direct_map(page_address(vm->pages[i]), nr);
    46			WARN_ON_ONCE(err);
    47		}
    48	}
    49	

--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki

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

only message in thread, other threads:[~2026-07-06 13:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 13:29 [rppt:direct-map/v0 5/7] mm/vmalloc.h:41:33: error: implicit declaration of function 'get_vm_area_page_order'; did you mean 'get_vm_area_caller'? 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.