linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [akpm-mm:mm-new 85/89] arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index'
@ 2025-05-16  0:05 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2025-05-16  0:05 UTC (permalink / raw)
  To: Matthew Wilcox (Oracle)
  Cc: oe-kbuild-all, Andrew Morton, Linux Memory Management List

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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-05-16  0:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-16  0:05 [akpm-mm:mm-new 85/89] arch/m68k/mm/motorola.c:108:55: error: 'struct page' has no member named 'index' kernel test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).