Subject: linux-next: build failure after merge of the mm tree

From: Stephen Rothwell <[email-masked]>
Date: Tue, 7 Feb 2023 15:37:06 +1100

Hi all,

After merging the mm tree, today's linux-next build (powerpc
ppc64_defconfig) failed like this:

lib/iov_iter.c: In function 'iov_iter_extract_user_pages':
lib/iov_iter.c:2143:34: error: 'FOLL_PIN' undeclared (first use in this function); did you mean 'POLL_IN'?
 2143 |         unsigned int gup_flags = FOLL_PIN;
      |                                  ^~~~~~~~
      |                                  POLL_IN
lib/iov_iter.c:2143:34: note: each undeclared identifier is reported only once for each function it appears in

Caused by commit

  0ff325d28700 ("mm/gup: move private gup FOLL_ flags to internal.h")

interacting with commit

  895d773054a2 ("iov_iter: Add a function to extract a page list from an iterator")

from the block tree.

I have reverted commit 0ff325d28700 for today.  A better resolution
would be appreciated.

-- 
Cheers,
Stephen Rothwell