Re: [PATCH 3/4] mm: mlock: update the interface to use folios

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux