All of lore.kernel.org
 help / color / mirror / Atom feed
* [willy-pagecache:folio-mk-pte 10/10] include/linux/mm.h:1938:16: error: implicit declaration of function 'pfn_pte'
@ 2025-02-14 12:24 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-02-14 12:24 UTC (permalink / raw)
  To: Matthew Wilcox; +Cc: oe-kbuild-all

tree:   git://git.infradead.org/users/willy/pagecache folio-mk-pte
head:   67fcb49ae3b2d66d35862b2be955f193b8f204c0
commit: 67fcb49ae3b2d66d35862b2be955f193b8f204c0 [10/10] mm: Add folio_mk_pte()
config: arm-randconfig-002-20250214 (https://download.01.org/0day-ci/archive/20250214/202502142011.16ePxdej-lkp@intel.com/config)
compiler: arm-linux-gnueabi-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250214/202502142011.16ePxdej-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/202502142011.16ePxdej-lkp@intel.com/

All errors (new ones prefixed by >>):

   In file included from arch/arm/kernel/asm-offsets.c:12:
   include/linux/mm.h: In function 'folio_mk_pte':
>> include/linux/mm.h:1938:16: error: implicit declaration of function 'pfn_pte' [-Wimplicit-function-declaration]
    1938 |         return pfn_pte(folio_pfn(folio), pgprot);
         |                ^~~~~~~
   make[3]: *** [scripts/Makefile.build:102: arch/arm/kernel/asm-offsets.s] Error 1 shuffle=2018612442
   make[3]: Target 'prepare' not remade because of errors.
   make[2]: *** [Makefile:1264: prepare0] Error 2 shuffle=2018612442
   make[2]: Target 'prepare' not remade because of errors.
   make[1]: *** [Makefile:251: __sub-make] Error 2 shuffle=2018612442
   make[1]: Target 'prepare' not remade because of errors.
   make: *** [Makefile:251: __sub-make] Error 2 shuffle=2018612442
   make: Target 'prepare' not remade because of errors.


vim +/pfn_pte +1938 include/linux/mm.h

  1925	
  1926	/**
  1927	 * folio_mk_pte - Create a PTE for this folio
  1928	 * @folio: The folio to create a PTE for
  1929	 * @pgprot: The page protection bits to use
  1930	 *
  1931	 * Create a page table entry for the first page of this folio.
  1932	 * This is suitable for passing to set_ptes().
  1933	 *
  1934	 * Return: A page table entry suitable for mapping this folio.
  1935	 */
  1936	static inline pte_t folio_mk_pte(struct folio *folio, pgprot_t pgprot)
  1937	{
> 1938		return pfn_pte(folio_pfn(folio), pgprot);
  1939	}
  1940	

-- 
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:[~2025-02-14 12:25 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-14 12:24 [willy-pagecache:folio-mk-pte 10/10] include/linux/mm.h:1938:16: error: implicit declaration of function 'pfn_pte' 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.