All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: "Mike Rapoport (Microsoft)" <rppt@kernel.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [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'?
Date: Mon, 06 Jul 2026 21:29:56 +0800	[thread overview]
Message-ID: <202607062121.of7yzsQp-lkp@intel.com> (raw)

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

                 reply	other threads:[~2026-07-06 13:30 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202607062121.of7yzsQp-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=oe-kbuild-all@lists.linux.dev \
    --cc=rppt@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.