From: kernel test robot <lkp@intel.com>
To: Andrew Morton <akpm@linux-foundation.org>
Cc: oe-kbuild-all@lists.linux.dev,
David Hildenbrand <david@kernel.org>,
Linux Memory Management List <linux-mm@kvack.org>,
mm-commits@vger.kernel.org, Davidlohr Bueso <dave@stgolabs.net>
Subject: [akpm-mm:mm-new 122/169] include/asm-generic/fixmap.h:77:9: error: implicit declaration of function '__set_fixmap'; did you mean 'set_fixmap'?
Date: Thu, 30 Apr 2026 05:00:15 +0800 [thread overview]
Message-ID: <202604300401.oBmk76Q3-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head: 0587fb0c820d86e5b77a975680d79b5176d09abb
commit: 4fee62a8f7a8a78b1e36d2b5a7a2030b18cccd56 [122/169] include/asm-generic/fixmap.h: reimplement nasty macros in C
config: csky-allmodconfig (https://download.01.org/0day-ci/archive/20260430/202604300401.oBmk76Q3-lkp@intel.com/config)
compiler: csky-linux-gcc (GCC) 15.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20260430/202604300401.oBmk76Q3-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/202604300401.oBmk76Q3-lkp@intel.com/
All errors (new ones prefixed by >>):
In file included from arch/csky/include/asm/fixmap.h:27,
from arch/csky/include/asm/pgtable.h:6,
from include/linux/pgtable.h:6,
from arch/csky/include/asm/io.h:6,
from include/linux/io.h:12,
from include/linux/irq.h:20,
from include/asm-generic/hardirq.h:17,
from ./arch/csky/include/generated/asm/hardirq.h:1,
from include/linux/hardirq.h:11,
from include/linux/interrupt.h:11,
from include/linux/kernel_stat.h:8,
from arch/csky/kernel/asm-offsets.c:6:
include/asm-generic/fixmap.h: In function '__set_fixmap_offset':
>> include/asm-generic/fixmap.h:77:9: error: implicit declaration of function '__set_fixmap'; did you mean 'set_fixmap'? [-Wimplicit-function-declaration]
77 | __set_fixmap(idx, phys, flags);
| ^~~~~~~~~~~~
| set_fixmap
include/asm-generic/fixmap.h: In function 'set_fixmap_offset':
include/asm-generic/fixmap.h:48:28: error: 'PAGE_KERNEL' undeclared (first use in this function); did you mean 'SI_KERNEL'?
48 | #define FIXMAP_PAGE_NORMAL PAGE_KERNEL
| ^~~~~~~~~~~
include/asm-generic/fixmap.h:84:47: note: in expansion of macro 'FIXMAP_PAGE_NORMAL'
84 | return __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL);
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h:48:28: note: each undeclared identifier is reported only once for each function it appears in
48 | #define FIXMAP_PAGE_NORMAL PAGE_KERNEL
| ^~~~~~~~~~~
include/asm-generic/fixmap.h:84:47: note: in expansion of macro 'FIXMAP_PAGE_NORMAL'
84 | return __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NORMAL);
| ^~~~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h: In function 'set_fixmap_nocache':
include/asm-generic/fixmap.h:54:29: error: 'PAGE_KERNEL_NOCACHE' undeclared (first use in this function)
54 | #define FIXMAP_PAGE_NOCACHE PAGE_KERNEL_NOCACHE
| ^~~~~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h:93:33: note: in expansion of macro 'FIXMAP_PAGE_NOCACHE'
93 | __set_fixmap(idx, phys, FIXMAP_PAGE_NOCACHE);
| ^~~~~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h: In function 'set_fixmap_offset_nocache':
include/asm-generic/fixmap.h:54:29: error: 'PAGE_KERNEL_NOCACHE' undeclared (first use in this function)
54 | #define FIXMAP_PAGE_NOCACHE PAGE_KERNEL_NOCACHE
| ^~~~~~~~~~~~~~~~~~~
include/asm-generic/fixmap.h:99:40: note: in expansion of macro 'FIXMAP_PAGE_NOCACHE'
99 | __set_fixmap_offset(idx, phys, FIXMAP_PAGE_NOCACHE);
| ^~~~~~~~~~~~~~~~~~~
make[3]: *** [scripts/Makefile.build:184: arch/csky/kernel/asm-offsets.s] Error 1
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1373: prepare0] Error 2
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2
make: Target 'prepare' not remade because of errors.
vim +77 include/asm-generic/fixmap.h
72
73 /* Return a pointer with offset calculated */
74 static inline unsigned long
75 __set_fixmap_offset(enum fixed_addresses idx, phys_addr_t phys, pgprot_t flags)
76 {
> 77 __set_fixmap(idx, phys, flags);
78 return fix_to_virt(idx) + (phys & (PAGE_SIZE - 1));
79 }
80
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2026-04-29 21:01 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=202604300401.oBmk76Q3-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=dave@stgolabs.net \
--cc=david@kernel.org \
--cc=linux-mm@kvack.org \
--cc=mm-commits@vger.kernel.org \
--cc=oe-kbuild-all@lists.linux.dev \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox