Content-Type: multipart/mixed; boundary="===============0706387692273624536==" MIME-Version: 1.0 From: Peter Xu To: kbuild-all@lists.01.org Subject: Re: [linux-next:master 5085/5845] fs/userfaultfd.c:337:13: error: implicit declaration of function 'pte_none_mostly' Date: Sat, 23 Apr 2022 16:45:10 -0400 Message-ID: In-Reply-To: <202204240320.TGDuGcsL-lkp@intel.com> List-Id: --===============0706387692273624536== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2022 at 03:23:23AM +0800, kernel test robot wrote: > tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.g= it master > head: e7d6987e09a328d4a949701db40ef63fbb970670 > commit: 70a8da53f7cb7368776f9d2790ecbb4f8bc53ba5 [5085/5845] mm: teach co= re mm about pte markers > config: x86_64-randconfig-a002-20210928 (https://download.01.org/0day-ci/= archive/20220424/202204240320.TGDuGcsL-lkp(a)intel.com/config) > compiler: gcc-11 (Debian 11.2.0-20) 11.2.0 > reproduce (this is a W=3D1 build): > # https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next= .git/commit/?id=3D70a8da53f7cb7368776f9d2790ecbb4f8bc53ba5 > git remote add linux-next https://git.kernel.org/pub/scm/linux/ke= rnel/git/next/linux-next.git > git fetch --no-tags linux-next master > git checkout 70a8da53f7cb7368776f9d2790ecbb4f8bc53ba5 > # save the config file > mkdir build_dir && cp config build_dir/.config > make W=3D1 O=3Dbuild_dir ARCH=3Dx86_64 SHELL=3D/bin/bash > = > If you fix the issue, kindly add following tag as appropriate > Reported-by: kernel test robot > = > Note: the linux-next/master HEAD e7d6987e09a328d4a949701db40ef63fbb970670= builds fine. > It may have been fixed somewhere. > = > All errors (new ones prefixed by >>): > = > fs/userfaultfd.c: In function 'userfaultfd_must_wait': > >> fs/userfaultfd.c:337:13: error: implicit declaration of function 'pte_= none_mostly' [-Werror=3Dimplicit-function-declaration] > 337 | if (pte_none_mostly(*pte)) > | ^~~~~~~~~~~~~~~ > cc1: some warnings being treated as errors Ah, userfaultfd.c may need explicit inclusion for swapops.h now.. Expected fix attached to be squashed into "mm: Teach core mm about pte markers", I t= hink. Thanks, -- = Peter Xu --===============0706387692273624536== Content-Type: text/plain MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="0001-fixup-mm-Teach-core-mm-about-pte-markers.patch" RnJvbSAwMDk1NzJlNTlmN2Q3MmM1MDg1Njc2YjA1MDZmMGIyNjlmOWVmMzM0IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBQZXRlciBYdSA8cGV0ZXJ4QHJlZGhhdC5jb20+CkRhdGU6IFNh dCwgMjMgQXByIDIwMjIgMTY6Mzk6MTUgLTA0MDAKU3ViamVjdDogW1BBVENIXSBmaXh1cCEgbW06 IFRlYWNoIGNvcmUgbW0gYWJvdXQgcHRlIG1hcmtlcnMKQ29udGVudC10eXBlOiB0ZXh0L3BsYWlu CgpTaWduZWQtb2ZmLWJ5OiBQZXRlciBYdSA8cGV0ZXJ4QHJlZGhhdC5jb20+Ci0tLQogZnMvdXNl cmZhdWx0ZmQuYyB8IDEgKwogMSBmaWxlIGNoYW5nZWQsIDEgaW5zZXJ0aW9uKCspCgpkaWZmIC0t Z2l0IGEvZnMvdXNlcmZhdWx0ZmQuYyBiL2ZzL3VzZXJmYXVsdGZkLmMKaW5kZXggZmI0NTUyMmEy YjQ0Li5lOTQzMzcwMTA3ZDAgMTAwNjQ0Ci0tLSBhL2ZzL3VzZXJmYXVsdGZkLmMKKysrIGIvZnMv dXNlcmZhdWx0ZmQuYwpAQCAtMjksNiArMjksNyBAQAogI2luY2x1ZGUgPGxpbnV4L2lvY3RsLmg+ CiAjaW5jbHVkZSA8bGludXgvc2VjdXJpdHkuaD4KICNpbmNsdWRlIDxsaW51eC9odWdldGxiLmg+ CisjaW5jbHVkZSA8bGludXgvc3dhcG9wcy5oPgogCiBpbnQgc3lzY3RsX3VucHJpdmlsZWdlZF91 c2VyZmF1bHRmZCBfX3JlYWRfbW9zdGx5OwogCi0tIAoyLjMyLjAKCg== --===============0706387692273624536==--