From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3D49BC433F5 for ; Fri, 17 Dec 2021 10:03:36 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 732596B0071; Fri, 17 Dec 2021 05:03:25 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 6E0F46B0072; Fri, 17 Dec 2021 05:03:25 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5F7346B0073; Fri, 17 Dec 2021 05:03:25 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0125.hostedemail.com [216.40.44.125]) by kanga.kvack.org (Postfix) with ESMTP id 514B46B0071 for ; Fri, 17 Dec 2021 05:03:25 -0500 (EST) Received: from smtpin11.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 1A6138249980 for ; Fri, 17 Dec 2021 10:03:15 +0000 (UTC) X-FDA: 78926848350.11.782A874 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by imf19.hostedemail.com (Postfix) with ESMTP id 4B1561A0017 for ; Fri, 17 Dec 2021 10:03:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639735394; x=1671271394; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=difKERNCUGT+yNj8Ji0RjwMEgrFy7uvw5aDaT8WIo6c=; b=HgTyUbmTgZUtltp+5uOtGX4nocSNIrVeJcGuStFs4DLlTMnzn2uPb+T0 XI6AsUM46BttsB7A94Klxe2DSkJsErImKVrv+ulKioqDLQnwOdQAxNOIM 2IRILJJJbV6dYROF16BNWxA7TbwB4ATpSxKHexGUfSLkmZeoBV2s6FYGP F1eQ+PzFIz6ugIEq+qMPpS6U5S0awitOKsgfyd26Fo08Gk9ignM4grxtV kDLnQdtnJe5sdluod+EStT/N5+dpd7rWdEaMr1R39OQQrEDD2jljm9quI BzHs/geG7ECIUoM0gVb6FEae8jUIGrr3eVlvNDf9Buv0JAOn48wOYIs/X Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10200"; a="326012154" X-IronPort-AV: E=Sophos;i="5.88,213,1635231600"; d="scan'208";a="326012154" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2021 02:03:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,213,1635231600"; d="scan'208";a="615512643" Received: from lkp-server02.sh.intel.com (HELO 9f38c0981d9f) ([10.239.97.151]) by orsmga004.jf.intel.com with ESMTP; 17 Dec 2021 02:03:09 -0800 Received: from kbuild by 9f38c0981d9f with local (Exim 4.92) (envelope-from ) id 1myA4y-0004Yr-EB; Fri, 17 Dec 2021 10:03:08 +0000 Date: Fri, 17 Dec 2021 18:03:02 +0800 From: kernel test robot To: NeilBrown , Trond Myklebust , Anna Schumaker , Chuck Lever , Andrew Morton , Mel Gorman , Christoph Hellwig , David Howells Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, Linux Memory Management List , linux-nfs@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 02/18] MM: create new mm/swap.h header file. Message-ID: <202112171739.uSeLyZ1M-lkp@intel.com> References: <163969850279.20885.7172996032577523902.stgit@noble.brown> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <163969850279.20885.7172996032577523902.stgit@noble.brown> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: 4B1561A0017 X-Stat-Signature: 3puj3c7ei1srh9mzsgytdo7wfxb1msby Authentication-Results: imf19.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=HgTyUbmT; spf=none (imf19.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.43) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-HE-Tag: 1639735394-926316 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: Hi NeilBrown, Thank you for the patch! Yet something to improve: [auto build test ERROR on cifs/for-next] [also build test ERROR on axboe-block/for-next rostedt-trace/for-next linus/master v5.16-rc5] [cannot apply to trondmy-nfs/linux-next hnaz-mm/master next-20211216] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch] url: https://github.com/0day-ci/linux/commits/NeilBrown/Repair-SWAP-over-NFS/20211217-075659 base: git://git.samba.org/sfrench/cifs-2.6.git for-next config: hexagon-randconfig-r045-20211216 (https://download.01.org/0day-ci/archive/20211217/202112171739.uSeLyZ1M-lkp@intel.com/config) compiler: clang version 14.0.0 (https://github.com/llvm/llvm-project 9043c3d65b11b442226015acfbf8167684586cfa) reproduce (this is a W=1 build): wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # https://github.com/0day-ci/linux/commit/3dd9e64650d0340fd6469ba4f8abc183bb2eea15 git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review NeilBrown/Repair-SWAP-over-NFS/20211217-075659 git checkout 3dd9e64650d0340fd6469ba4f8abc183bb2eea15 # save the config file to linux build tree mkdir build_dir COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=hexagon SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All error/warnings (new ones prefixed by >>): >> mm/memcontrol.c:5532:9: error: implicit declaration of function 'find_get_incore_page' [-Werror,-Wimplicit-function-declaration] return find_get_incore_page(vma->vm_file->f_mapping, ^ >> mm/memcontrol.c:5532:9: warning: incompatible integer to pointer conversion returning 'int' from a function with result type 'struct page *' [-Wint-conversion] return find_get_incore_page(vma->vm_file->f_mapping, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 warning and 1 error generated. vim +/find_get_incore_page +5532 mm/memcontrol.c 90254a65833b67 Daisuke Nishimura 2010-05-26 5521 87946a72283be3 Daisuke Nishimura 2010-05-26 5522 static struct page *mc_handle_file_pte(struct vm_area_struct *vma, 48384b0b76f366 Peter Xu 2021-11-05 5523 unsigned long addr, pte_t ptent) 87946a72283be3 Daisuke Nishimura 2010-05-26 5524 { 87946a72283be3 Daisuke Nishimura 2010-05-26 5525 if (!vma->vm_file) /* anonymous vma */ 87946a72283be3 Daisuke Nishimura 2010-05-26 5526 return NULL; 1dfab5abcdd404 Johannes Weiner 2015-02-11 5527 if (!(mc.flags & MOVE_FILE)) 87946a72283be3 Daisuke Nishimura 2010-05-26 5528 return NULL; 87946a72283be3 Daisuke Nishimura 2010-05-26 5529 87946a72283be3 Daisuke Nishimura 2010-05-26 5530 /* page is moved even if it's not RSS of this task(page-faulted). */ aa3b189551ad8e Hugh Dickins 2011-08-03 5531 /* shmem/tmpfs may report page out on swap: account for that too. */ f5df8635c5a3c9 Matthew Wilcox (Oracle 2020-10-13 @5532) return find_get_incore_page(vma->vm_file->f_mapping, f5df8635c5a3c9 Matthew Wilcox (Oracle 2020-10-13 5533) linear_page_index(vma, addr)); 87946a72283be3 Daisuke Nishimura 2010-05-26 5534 } 87946a72283be3 Daisuke Nishimura 2010-05-26 5535 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org