From: kernel test robot <lkp@intel.com>
To: Matthew Wilcox <willy@infradead.org>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [willy-pagecache:folio-mk-pte 10/10] include/linux/mm.h:1938:16: error: implicit declaration of function 'pfn_pte'
Date: Fri, 14 Feb 2025 20:24:51 +0800 [thread overview]
Message-ID: <202502142011.16ePxdej-lkp@intel.com> (raw)
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
reply other threads:[~2025-02-14 12:25 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=202502142011.16ePxdej-lkp@intel.com \
--to=lkp@intel.com \
--cc=oe-kbuild-all@lists.linux.dev \
--cc=willy@infradead.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.