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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id E7396C433EF for ; Sat, 4 Jun 2022 12:33:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239620AbiFDMdl (ORCPT ); Sat, 4 Jun 2022 08:33:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235668AbiFDMdj (ORCPT ); Sat, 4 Jun 2022 08:33:39 -0400 Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D19F42B270 for ; Sat, 4 Jun 2022 05:33:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654346017; x=1685882017; h=date:from:to:cc:subject:message-id:mime-version; bh=+rk2cRR+kcOZuDTya3QiG3U0ssEto1rwgo1C3YemPuw=; b=bWJbM/E3OtBkSIuPxZVY/TgjLjlzl8TltbyhnyYBC16r4TXk2OM7RLK1 JIIHLVIgtTzotV0fDwKQOewMY2IdS9wg+IZKtuF6cCbLjv++DRAgMNGuW 6OpBEEPzlv1INsJMgtWZ/5onHOouS+54WexHSiQmnGIX6svMDsNBuHbQY cMsbozFYauJNhUw3OvDfYPnEpqqvoh05TST6Fp/B2E097tL5n+ghCXMW9 pJjv7tvgG2sp3f4FKSfOFzOs8+SG9Wl7heIFIOkzm1IgiYSDG3R1gDxWF iMAWoDUSc9QQZs2qtO/fG7R7CIFHe2r6K97+k2HtwE7U+6+tWTzOYUdWN Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10367"; a="273991567" X-IronPort-AV: E=Sophos;i="5.91,277,1647327600"; d="scan'208";a="273991567" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Jun 2022 05:33:37 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,277,1647327600"; d="scan'208";a="668825198" Received: from lkp-server01.sh.intel.com (HELO 60dabacc1df6) ([10.239.97.150]) by FMSMGA003.fm.intel.com with ESMTP; 04 Jun 2022 05:33:36 -0700 Received: from kbuild by 60dabacc1df6 with local (Exim 4.95) (envelope-from ) id 1nxSyF-000Apo-F8; Sat, 04 Jun 2022 12:33:35 +0000 Date: Sat, 4 Jun 2022 20:33:01 +0800 From: kernel test robot To: Shiyang Ruan Cc: 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 'xfs_dax_fault' Message-ID: <202206042008.WcIK2oVM-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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: mips-allyesconfig (https://download.01.org/0day-ci/archive/20220604/202206042008.WcIK2oVM-lkp@intel.com/config) compiler: mips-linux-gcc (GCC) 11.3.0 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=gcc-11.3.0 make.cross W=1 O=build_dir ARCH=mips SHELL=/bin/bash fs/xfs/ 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 'xfs_dax_fault' [-Wmissing-prototypes] 1273 | xfs_dax_fault( | ^~~~~~~~~~~~~ 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