[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Y6lEzZtcbpp+OgvD@lucifer>
Date: Mon, 26 Dec 2022 06:53:01 +0000
From: Lorenzo Stoakes <lstoakes@...il.com>
To: kernel test robot <lkp@...el.com>
Cc: linux-mm@...ck.org, Andrew Morton <akpm@...ux-foundation.org>,
linux-kernel@...r.kernel.org, oe-kbuild-all@...ts.linux.dev,
Matthew Wilcox <willy@...radead.org>,
Hugh Dickins <hughd@...gle.com>,
Vlastimil Babka <vbabka@...e.cz>,
Liam Howlett <liam.howlett@...cle.com>,
William Kucharski <william.kucharski@...cle.com>,
Christian Brauner <brauner@...nel.org>,
Jonathan Corbet <corbet@....net>,
Mike Rapoport <rppt@...nel.org>,
Joel Fernandes <joel@...lfernandes.org>
Subject: Re: [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.
Powered by blists - more mailing lists