From: kernel test robot <lkp@intel.com>
To: David Hildenbrand <david@redhat.com>
Cc: oe-kbuild-all@lists.linux.dev
Subject: [davidhildenbrand:pat 5/10] include/linux/pgtable.h:1493:1: error: expected declaration specifiers or '...' before '{' token
Date: Wed, 30 Apr 2025 06:27:02 +0800 [thread overview]
Message-ID: <202504300652.xffIda1s-lkp@intel.com> (raw)
tree: https://github.com/davidhildenbrand/linux pat
head: f60106362383c7fbbe2d6fc75c7fc17a85ed2da9
commit: 198b01f86519142d65d84243c329c8beb5f9117a [5/10] x86/mm/pat: remove old pfnmap tracking interface
config: riscv-randconfig-001-20250430 (https://download.01.org/0day-ci/archive/20250430/202504300652.xffIda1s-lkp@intel.com/config)
compiler: riscv32-linux-gcc (GCC) 7.5.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250430/202504300652.xffIda1s-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/202504300652.xffIda1s-lkp@intel.com/
All error/warnings (new ones prefixed by >>):
In file included from include/linux/mm.h:31:0,
from arch/riscv/kernel/asm-offsets.c:8:
>> include/linux/pgtable.h:1493:1: error: expected declaration specifiers or '...' before '{' token
{
^
>> include/linux/pgtable.h:1766:20: error: storage class specified for parameter 'init_espfix_bsp'
static inline void init_espfix_bsp(void) { }
^~~~~~~~~~~~~~~
>> include/linux/pgtable.h:1766:20: warning: parameter 'init_espfix_bsp' declared 'inline'
>> include/linux/pgtable.h:1766:1: warning: '__gnu_inline__' attribute ignored [-Wattributes]
static inline void init_espfix_bsp(void) { }
^~~~~~
>> include/linux/pgtable.h:1766:20: error: '__no_instrument_function__' attribute applies only to functions
static inline void init_espfix_bsp(void) { }
^~~~~~~~~~~~~~~
>> include/linux/pgtable.h:1766:42: error: expected ';', ',' or ')' before '{' token
static inline void init_espfix_bsp(void) { }
^
make[3]: *** [scripts/Makefile.build:98: arch/riscv/kernel/asm-offsets.s] Error 1 shuffle=2112879742
make[3]: Target 'prepare' not remade because of errors.
make[2]: *** [Makefile:1280: prepare0] Error 2 shuffle=2112879742
make[2]: Target 'prepare' not remade because of errors.
make[1]: *** [Makefile:248: __sub-make] Error 2 shuffle=2112879742
make[1]: Target 'prepare' not remade because of errors.
make: *** [Makefile:248: __sub-make] Error 2 shuffle=2112879742
make: Target 'prepare' not remade because of errors.
vim +1493 include/linux/pgtable.h
0f8975ec4db2c8 include/asm-generic/pgtable.h Pavel Emelyanov 2013-07-03 1484
34801ba9bf0381 include/asm-generic/pgtable.h venkatesh.pallipadi@intel.com 2008-12-19 1485 #ifndef __HAVE_PFNMAP_TRACKING
34801ba9bf0381 include/asm-generic/pgtable.h venkatesh.pallipadi@intel.com 2008-12-19 1486 /*
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 1487 * Interfaces that can be used by architecture code to keep track of
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 1488 * memory type of pfn mappings specified by the remap_pfn_range,
67fa1666223d7c include/asm-generic/pgtable.h Matthew Wilcox 2018-10-26 1489 * vmf_insert_pfn.
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 1490 */
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 1491
3ab6e156f887d9 include/linux/pgtable.h David Hildenbrand 2025-04-24 1492 static inline int pfnmap_setup_cachemode(unsigned long pfn, unsigned long size,
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 @1493 {
3ab6e156f887d9 include/linux/pgtable.h David Hildenbrand 2025-04-24 1494 return 0;
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 1495 }
5180da410db636 include/asm-generic/pgtable.h Suresh Siddha 2012-10-08 1496
:::::: The code at line 1493 was first introduced by commit
:::::: 5180da410db6369d1f95c9014da1c9bc33fb043e x86, pat: separate the pfn attribute tracking for remap_pfn_range and vm_insert_pfn
:::::: TO: Suresh Siddha <suresh.b.siddha@intel.com>
:::::: CC: Linus Torvalds <torvalds@linux-foundation.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-04-29 22:27 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=202504300652.xffIda1s-lkp@intel.com \
--to=lkp@intel.com \
--cc=david@redhat.com \
--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 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.