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 6AFB4C433F5 for ; Sun, 27 Feb 2022 15:57:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id A5CBF8D0002; Sun, 27 Feb 2022 10:57:42 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id A0CC48D0001; Sun, 27 Feb 2022 10:57:42 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 8FB078D0002; Sun, 27 Feb 2022 10:57:42 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0111.hostedemail.com [216.40.44.111]) by kanga.kvack.org (Postfix) with ESMTP id 7FEBF8D0001 for ; Sun, 27 Feb 2022 10:57:42 -0500 (EST) Received: from smtpin23.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 2873F998DC for ; Sun, 27 Feb 2022 15:57:42 +0000 (UTC) X-FDA: 79189015164.23.EC391EA Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by imf26.hostedemail.com (Postfix) with ESMTP id 22C83140006 for ; Sun, 27 Feb 2022 15:57:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645977461; x=1677513461; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=uZVNRO0qfhvL5YBVwTKw1rTCJwkow3/0UaHUBIhgeNU=; b=cOBHm2xborSStFK+NjN/L8iIy/qYyewIoVuiT8KlgSQGcpbyulLCLds/ Y/t1RAaRMGP5IWb/5YqXvaRevztqc6RgUhSkkAA5UH8G5ruUR/xoU7Kml /1i+XjwA2U1SqAlLYI/8r5OL13cwialS/xrsXZ0yGpaDOLyvpC6UmhKQ2 /qLBdcKpNgMweQ94m4LteReI4yX6QGV8Na3M+mxM2iRqfZhKVo/0JS2Hs iVY5ywV91BmiL9hM7w3V3mg8nocWO9j2bkJ9eW+Mv4W8X604/91v17YuQ 3uDozI8gURNUxJ/A6/JPjBbNzpbG8o3FcbSbjD/a7KK9EXv6gFRwNfp6A g==; X-IronPort-AV: E=McAfee;i="6200,9189,10271"; a="252937903" X-IronPort-AV: E=Sophos;i="5.90,141,1643702400"; d="scan'208";a="252937903" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 27 Feb 2022 07:57:39 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,141,1643702400"; d="scan'208";a="777852020" Received: from lkp-server01.sh.intel.com (HELO 788b1cd46f0d) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 27 Feb 2022 07:57:36 -0800 Received: from kbuild by 788b1cd46f0d with local (Exim 4.92) (envelope-from ) id 1nOLvT-0006bd-Qq; Sun, 27 Feb 2022 15:57:35 +0000 Date: Sun, 27 Feb 2022 23:57:18 +0800 From: kernel test robot To: Shiyang Ruan , linux-kernel@vger.kernel.org, linux-xfs@vger.kernel.org, nvdimm@lists.linux.dev, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Cc: llvm@lists.linux.dev, kbuild-all@lists.01.org, djwong@kernel.org, dan.j.williams@intel.com, david@fromorbit.com, hch@infradead.org, jane.chu@oracle.com Subject: Re: [PATCH v11 8/8] fsdax: set a CoW flag when associate reflink mappings Message-ID: <202202272359.2aizNPgB-lkp@intel.com> References: <20220227120747.711169-9-ruansy.fnst@fujitsu.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220227120747.711169-9-ruansy.fnst@fujitsu.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Rspamd-Server: rspam10 X-Rspam-User: X-Stat-Signature: yby7m5usmj7ghmehndhccm78wuhau5x5 Authentication-Results: imf26.hostedemail.com; dkim=pass header.d=intel.com header.s=Intel header.b=cOBHm2xb; spf=none (imf26.hostedemail.com: domain of lkp@intel.com has no SPF policy when checking 192.55.52.115) smtp.mailfrom=lkp@intel.com; dmarc=pass (policy=none) header.from=intel.com X-Rspamd-Queue-Id: 22C83140006 X-HE-Tag: 1645977460-274914 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 Shiyang, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on xfs-linux/for-next] [also build test WARNING on linux/master] [cannot apply to hnaz-mm/master linus/master v5.17-rc5 next-20220225] [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/Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20220227-200849 base: https://git.kernel.org/pub/scm/fs/xfs/xfs-linux.git for-next config: i386-randconfig-a013 (https://download.01.org/0day-ci/archive/20220227/202202272359.2aizNPgB-lkp@intel.com/config) compiler: clang version 15.0.0 (https://github.com/llvm/llvm-project d271fc04d5b97b12e6b797c6067d3c96a8d7470e) 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/a0ac78065bbb4fbb3e5477c32686eca3b9f0e1ef git remote add linux-review https://github.com/0day-ci/linux git fetch --no-tags linux-review Shiyang-Ruan/fsdax-introduce-fs-query-to-support-reflink/20220227-200849 git checkout a0ac78065bbb4fbb3e5477c32686eca3b9f0e1ef # 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=i386 SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/dax.c:337:67: warning: parameter 'mapping' set but not used [-Wunused-but-set-parameter] static inline void dax_mapping_set_cow_flag(struct address_space *mapping) ^ 1 warning generated. vim +/mapping +337 fs/dax.c 328 329 /* 330 * Iterate through all mapped pfns represented by an entry, i.e. skip 331 * 'empty' and 'zero' entries. 332 */ 333 #define for_each_mapped_pfn(entry, pfn) \ 334 for (pfn = dax_to_pfn(entry); \ 335 pfn < dax_end_pfn(entry); pfn++) 336 > 337 static inline void dax_mapping_set_cow_flag(struct address_space *mapping) 338 { 339 mapping = (struct address_space *)PAGE_MAPPING_DAX_COW; 340 } 341 --- 0-DAY CI Kernel Test Service, Intel Corporation https://lists.01.org/hyperkitty/list/kbuild-all@lists.01.org