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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 5F679C433EF for ; Fri, 17 Dec 2021 10:03:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234557AbhLQKD0 (ORCPT ); Fri, 17 Dec 2021 05:03:26 -0500 Received: from mga02.intel.com ([134.134.136.20]:31526 "EHLO mga02.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231968AbhLQKDZ (ORCPT ); Fri, 17 Dec 2021 05:03:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1639735405; x=1671271405; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=difKERNCUGT+yNj8Ji0RjwMEgrFy7uvw5aDaT8WIo6c=; b=PVM1cPAHDHSDT8QzmYdiQDcHGnsqkt+M45g1nHYpZ2/H3Hl7LA1bLvzJ G6B2DjEhqjpA9IKafQf482yKA0gPOpE1LF24bOYzCgsHLx29dBn5p17v/ HBEeH45aaJpT+VM7itnGRJ5tUgJ8NSqSstgzjUrNH+e8JMWFb1zlbeAvb Zcmb/izIp9J57RiFTziXxtqA/KQNmcnY2Mhg1CxBd0QREH4dtK/D7FtGE aC3dWKYn5lyZVvtiTOLB+OFl349Fe8FEx4imLtkuBnBm/D6EU/mxKUfyC EfLhgPRFD9GI0yI3ThAEBZPLw5nA9InhUm19PuCM6JeDQ2N7JwveHjNV8 Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10200"; a="227010841" X-IronPort-AV: E=Sophos;i="5.88,213,1635231600"; d="scan'208";a="227010841" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Dec 2021 02:03:20 -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) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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