lkml.org 
[lkml]   [2022]   [Dec]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 3/4] mm: mlock: update the interface to use folios
On Mon, Dec 26, 2022 at 09:05:42AM +0800, kernel test robot wrote:
> mm/mlock.c: In function 'mlock_pte_range':
> >> include/linux/page-flags.h:273:43: error: '_Generic' selector of type 'void *' is not compatible with any association
> 273 | #define page_folio(p) (_Generic((p), \
> | ^
> mm/mlock.c:323:25: note: in expansion of macro 'page_folio'
> 323 | folio = page_folio(pmd_page(*pmd));
> | ^~~~~~~~~~
>

OK so this is a product of motorola_pgtable.h defining pmd_page() as NULL and
the type magic in page_folio() getting confused. Easy fix, will spin a v2.

\
 
 \ /
  Last update: 2023-03-26 23:20    [W:0.044 / U:0.908 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site