From: kernel test robot <lkp@intel.com>
To: "Matthew Wilcox (Oracle)" <willy@infradead.org>
Cc: oe-kbuild-all@lists.linux.dev,
Andrew Morton <akpm@linux-foundation.org>,
Linux Memory Management List <linux-mm@kvack.org>
Subject: [akpm-mm:mm-new 85/89] arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
Date: Fri, 16 May 2025 08:05:35 +0800 [thread overview]
Message-ID: <202505160824.HVpDXsLL-lkp@intel.com> (raw)
tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-new
head: f7bdf6947ac702f4715ea8fdfbc2a43feb46bc0c
commit: bb6d5f838892be8285499f358b14a97b8f7cc168 [85/89] mm: rename page->index to page->__folio_index
config: m68k-allmodconfig (https://download.01.org/0day-ci/archive/20250516/202505160824.HVpDXsLL-lkp@intel.com/config)
compiler: m68k-linux-gcc (GCC) 14.2.0
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20250516/202505160824.HVpDXsLL-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/202505160824.HVpDXsLL-lkp@intel.com/
All errors (new ones prefixed by >>):
arch/m68k/mm/motorola.c: In function 'init_pointer_table':
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:127:15: note: in expansion of macro 'PD_MARKBITS'
127 | if (!(PD_MARKBITS(dp) & mask)) {
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:128:17: note: in expansion of macro 'PD_MARKBITS'
128 | PD_MARKBITS(dp) = ptable_mask(type);
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:132:9: note: in expansion of macro 'PD_MARKBITS'
132 | PD_MARKBITS(dp) &= ~mask;
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
include/linux/dynamic_debug.h:224:29: note: in expansion of macro 'PD_MARKBITS'
224 | func(&id, ##__VA_ARGS__); \
| ^~~~~~~~~~~
include/linux/dynamic_debug.h:248:9: note: in expansion of macro '__dynamic_func_call_cls'
248 | __dynamic_func_call_cls(__UNIQUE_ID(ddebug), cls, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:250:9: note: in expansion of macro '_dynamic_func_call_cls'
250 | _dynamic_func_call_cls(_DPRINTK_CLASS_DFLT, fmt, func, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~~~~~~~
include/linux/dynamic_debug.h:269:9: note: in expansion of macro '_dynamic_func_call'
269 | _dynamic_func_call(fmt, __dynamic_pr_debug, \
| ^~~~~~~~~~~~~~~~~~
include/linux/printk.h:631:9: note: in expansion of macro 'dynamic_pr_debug'
631 | dynamic_pr_debug(fmt, ##__VA_ARGS__)
| ^~~~~~~~~~~~~~~~
arch/m68k/mm/motorola.c:133:9: note: in expansion of macro 'pr_debug'
133 | pr_debug("init_pointer_table: %lx, %x\n", ptable, PD_MARKBITS(dp));
| ^~~~~~~~
arch/m68k/mm/motorola.c: In function 'get_pointer_table':
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:145:66: note: in expansion of macro 'PD_MARKBITS'
145 | unsigned int mask = list_empty(&ptable_list[type]) ? 0 : PD_MARKBITS(dp);
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:180:17: note: in expansion of macro 'PD_MARKBITS'
180 | PD_MARKBITS(new) = ptable_mask(type) - 1;
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:188:9: note: in expansion of macro 'PD_MARKBITS'
188 | PD_MARKBITS(dp) = mask & ~tmp;
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:189:14: note: in expansion of macro 'PD_MARKBITS'
189 | if (!PD_MARKBITS(dp)) {
| ^~~~~~~~~~~
arch/m68k/mm/motorola.c: In function 'free_pointer_table':
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:204:13: note: in expansion of macro 'PD_MARKBITS'
204 | if (PD_MARKBITS (dp) & mask)
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:207:9: note: in expansion of macro 'PD_MARKBITS'
207 | PD_MARKBITS (dp) |= mask;
| ^~~~~~~~~~~
>> arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
108 | #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
| ^~
arch/m68k/mm/motorola.c:209:13: note: in expansion of macro 'PD_MARKBITS'
209 | if (PD_MARKBITS(dp) == ptable_mask(type)) {
| ^~~~~~~~~~~
vim +108 arch/m68k/mm/motorola.c
5ad272abee9fe0 Peter Zijlstra 2020-01-31 105
8f246087724a2f Linus Walleij 2022-06-03 106 #define PD_PTABLE(page) ((ptable_desc *)&(virt_to_page((void *)(page))->lru))
5ad272abee9fe0 Peter Zijlstra 2020-01-31 107 #define PD_PAGE(ptable) (list_entry(ptable, struct page, lru))
0e071ee6815692 Peter Zijlstra 2020-01-31 @108 #define PD_MARKBITS(dp) (*(unsigned int *)&PD_PAGE(dp)->index)
0e071ee6815692 Peter Zijlstra 2020-01-31 109
:::::: The code at line 108 was first introduced by commit
:::::: 0e071ee6815692a3b241bbe9a9a29f7cdec023ed m68k: mm: Extend table allocator for multiple sizes
:::::: TO: Peter Zijlstra <peterz@infradead.org>
:::::: CC: Geert Uytterhoeven <geert@linux-m68k.org>
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
reply other threads:[~2025-05-16 0:05 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=202505160824.HVpDXsLL-lkp@intel.com \
--to=lkp@intel.com \
--cc=akpm@linux-foundation.org \
--cc=linux-mm@kvack.org \
--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.