On Mon, Dec 26, 2022 at 07:08:46AM +0000, Lorenzo Stoakes wrote: > goto out; > - page = pmd_page(*pmd); > + folio = page_folio((struct page *)pmd_page(*pmd)); I do not like this fix. Better to fix m68k to: #define pmd_page(pmd) (struct page *)NULL
On Mon, Dec 26, 2022 at 07:08:46AM +0000, Lorenzo Stoakes wrote: > goto out; > - page = pmd_page(*pmd); > + folio = page_folio((struct page *)pmd_page(*pmd)); I do not like this fix. Better to fix m68k to: #define pmd_page(pmd) (struct page *)NULL