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 32936C433EF for ; Sat, 4 Jun 2022 08:26:40 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 833DE6B0071; Sat, 4 Jun 2022 04:26:39 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 7DF0F6B0073; Sat, 4 Jun 2022 04:26:39 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6DAFB6B0074; Sat, 4 Jun 2022 04:26:39 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 5CDAD6B0071 for ; Sat, 4 Jun 2022 04:26:39 -0400 (EDT) Received: from smtpin08.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 1DFD73509D for ; Sat, 4 Jun 2022 08:26:39 +0000 (UTC) X-FDA: 79539872118.08.AD59AA0 Received: from mga06.intel.com (mga06b.intel.com [134.134.136.31]) by imf11.hostedemail.com (Postfix) with ESMTP id 7A92B4000F for ; Sat, 4 Jun 2022 08:26:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654331197; x=1685867197; h=date:from:to:cc:subject:message-id:mime-version; bh=XoxA+ewcupI9T02sgAlzhzRiGzeulMywbsJxH7n10to=; b=fwlNERWm4/4Nfryror6yYYXfGs4Ko1jDAir087aWR3fLcppLA92/jDbJ 9dNx49VMiGvJFvKEYgD3W/ZrfqxvVb6jJwtA6MkIpwwTPiD6uXZEuqap0 PgQeXc28SUyBL9FdpWicY45KMydkzFW/QF02dmqBg2vdfbnRlQ0cvGW44 WbBR7PJitknKPr0T4SRafh1zWeHzrh8Se2TpMUZUdbi7wEJFeXuGPULit Pvo77FPk4M055EdMyRiw6MuXm93UKdBiJ+15mTjK9x8FcT2iC6LxmCg3u tJlCtwG/fPDP5v+JQtttbGOhe98qaEtUJOngZE+LshRQ6MeMFTXOThXdU g==; X-IronPort-AV: E=McAfee;i="6400,9594,10367"; a="337095175" X-IronPort-AV: E=Sophos;i="5.91,277,1647327600"; d="scan'208";a="337095175" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2022 01:26:26 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,277,1647327600"; d="scan'208";a="757807041" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by orsmga005.jf.intel.com with ESMTP; 04 Jun 2022 01:26:24 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nxP71-000AV9-O3; Sat, 04 Jun 2022 08:26:23 +0000 Date: Sat, 4 Jun 2022 16:25:41 +0800 From: kernel test robot To: Shiyang Ruan Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, linux-kernel@vger.kernel.org, Andrew Morton , Linux Memory Management List , "Darrick J. Wong" Subject: [akpm-mm:mm-unstable 179/180] fs/xfs/xfs_file.c:1273:1: warning: no previous prototype for function 'xfs_dax_fault' Message-ID: <202206041624.kUCMuYuP-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Stat-Signature: fzkmrc4zdnmxiexgjex8zxitnf5f5gz3 X-Rspam-User: Authentication-Results: imf11.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=fwlNERWm; spf=none (imf11.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 134.134.136.31) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 7A92B4000F X-HE-Tag: 1654331188-688185 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: tree: https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git mm-unstable head: f06e3c5104126b9a6660b58f29619b53bfa33b2b commit: d5f5b32dee7c09e3152cbbce45c73f0b1ea7d94c [179/180] xfs: support CoW in fsdax mode config: x86_64-randconfig-a014 (https://download.01.org/0day-ci/archive/20220604/202206041624.kUCMuYuP-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project b364c76683f8ef241025a9556300778c07b590c2) 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://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git/commit/?id=d5f5b32dee7c09e3152cbbce45c73f0b1ea7d94c git remote add akpm-mm https://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm.git git fetch --no-tags akpm-mm mm-unstable git checkout d5f5b32dee7c09e3152cbbce45c73f0b1ea7d94c # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/xfs/ mm/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/xfs/xfs_file.c:1273:1: warning: no previous prototype for function 'xfs_dax_fault' [-Wmissing-prototypes] xfs_dax_fault( ^ fs/xfs/xfs_file.c:1272:1: note: declare 'static' if the function is not intended to be used outside of this translation unit int ^ static 1 warning generated. vim +/xfs_dax_fault +1273 fs/xfs/xfs_file.c 1257 1258 #ifdef CONFIG_FS_DAX 1259 int 1260 xfs_dax_fault( 1261 struct vm_fault *vmf, 1262 enum page_entry_size pe_size, 1263 bool write_fault, 1264 pfn_t *pfn) 1265 { 1266 return dax_iomap_fault(vmf, pe_size, pfn, NULL, 1267 (write_fault && !vmf->cow_page) ? 1268 &xfs_dax_write_iomap_ops : 1269 &xfs_read_iomap_ops); 1270 } 1271 #else 1272 int > 1273 xfs_dax_fault( 1274 struct vm_fault *vmf, 1275 enum page_entry_size pe_size, 1276 bool write_fault, 1277 pfn_t *pfn) 1278 { 1279 return 0; 1280 } 1281 #endif 1282 -- 0-DAY CI Kernel Test Service https://01.org/lkp