Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 175AB29A8 for ; Fri, 3 Feb 2023 15:13:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1675437193; x=1706973193; h=date:from:to:cc:subject:message-id:references: mime-version:in-reply-to; bh=+qhJGcdQMX1iSW34SbhRnsrfh1meYsJgBSEcMcY+h0U=; b=oHTe6YfcIUUEVeMCHI8omSP5jY9V9rI1524bvw5nl9dEyttwQhAQTlIT 4GQ8x/rASOUFmxuvoxTrf04yLZOHd7izboqPtbRjHLsihhisMs5DXWejD QOIqUxPL10oy5Rgw8JRRgtkWKOSRFVWM83IUJN/F0z5qiWdG5PuZ/T7IL lhAatGGdRgd4oetFSi9juApdycxHYOa1AEpWh1l4+d33Urjt3A26cFQPw OCBXE5OiRYemtSjz4X6k69bfTyS7Z2c49XR2mMHPrCDRpxtJjYjAG4eEM uwr4wuYyfzRNPQl7YRVkgjfsrz3RwCfqw6PSpAqz1tg7jWleJ9JQ9QsQa A==; X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="414978554" X-IronPort-AV: E=Sophos;i="5.97,270,1669104000"; d="scan'208";a="414978554" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 03 Feb 2023 07:13:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10610"; a="789722313" X-IronPort-AV: E=Sophos;i="5.97,270,1669104000"; d="scan'208";a="789722313" Received: from lkp-server01.sh.intel.com (HELO 4455601a8d94) ([10.239.97.150]) by orsmga004.jf.intel.com with ESMTP; 03 Feb 2023 07:13:10 -0800 Received: from kbuild by 4455601a8d94 with local (Exim 4.96) (envelope-from ) id 1pNxkO-0000aZ-18; Fri, 03 Feb 2023 15:13:04 +0000 Date: Fri, 3 Feb 2023 23:12:48 +0800 From: kernel test robot To: Jingbo Xu , xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org Cc: oe-kbuild-all@lists.linux.dev, huyue2@coolpad.com, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org Subject: Re: [PATCH v3 7/9] erofs: implement .mmap for page cache sharing Message-ID: <202302032301.KaFzWF1g-lkp@intel.com> References: <20230203030143.73105-8-jefflexu@linux.alibaba.com> Precedence: bulk X-Mailing-List: oe-kbuild-all@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230203030143.73105-8-jefflexu@linux.alibaba.com> Hi Jingbo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on xiang-erofs/dev-test] [also build test WARNING on xiang-erofs/dev xiang-erofs/fixes linus/master v6.2-rc6 next-20230203] [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#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Jingbo-Xu/erofs-support-readahead-in-meta-routine/20230203-110255 base: https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git dev-test patch link: https://lore.kernel.org/r/20230203030143.73105-8-jefflexu%40linux.alibaba.com patch subject: [PATCH v3 7/9] erofs: implement .mmap for page cache sharing config: m68k-allyesconfig (https://download.01.org/0day-ci/archive/20230203/202302032301.KaFzWF1g-lkp@intel.com/config) compiler: m68k-linux-gcc (GCC) 12.1.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://github.com/intel-lab-lkp/linux/commit/499758ba5c442083b32a76a3fd55b734df0c486b git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Jingbo-Xu/erofs-support-readahead-in-meta-routine/20230203-110255 git checkout 499758ba5c442083b32a76a3fd55b734df0c486b # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k olddefconfig COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-12.1.0 make.cross W=1 O=build_dir ARCH=m68k SHELL=/bin/bash fs/erofs/ If you fix the issue, kindly add following tag where applicable | Reported-by: kernel test robot All warnings (new ones prefixed by >>): >> fs/erofs/fscache.c:435:12: warning: no previous prototype for 'erofs_fscache_share_fault' [-Wmissing-prototypes] 435 | vm_fault_t erofs_fscache_share_fault(struct vm_fault *vmf) | ^~~~~~~~~~~~~~~~~~~~~~~~~ vim +/erofs_fscache_share_fault +435 fs/erofs/fscache.c 434 > 435 vm_fault_t erofs_fscache_share_fault(struct vm_fault *vmf) 436 { 437 struct erofs_fscache_finfo *finfo = vmf->vma->vm_file->private_data; 438 439 if (unlikely(vmf->pgoff >= finfo->max_idx)) 440 return VM_FAULT_SIGBUS; 441 return filemap_fault(vmf); 442 } 443 -- 0-DAY CI Kernel Test Service https://github.com/intel/lkp-tests