From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HEXHASH_WORD,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) by gnuweeb.org (Postfix) with ESMTPS id 3BAB0800BD for ; Fri, 1 Jul 2022 00:09:19 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=Cn0gjjyC; dkim-atps=neutral DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1656634159; x=1688170159; h=date:from:to:cc:subject:message-id:mime-version; bh=nDha/9xVCzCx0c/TegLGOLnxq5FBcaBT4tgYPNP3d0s=; b=Cn0gjjyC2mGIN/UE2j02YOpNwaNHdjLLuQt4w/+YUYBHjafi7vGg1RuG 1j00eg1SOV++Up6+BJ1NhSw+jzMHOdHqSgmba/Wr4oUV97W5ergmSKKnL 87Q1DkF44MyeCw7Qk+KML9MHFOs/TKORWWxIsVL/HsxOOlOWwFR/2V5Ke AwXF17jcDeB1160Qu1wpU/ZC1j8VSEZZw2s/N8nv5o3+mpvLmZn0sm/IR PY6IesL4BNaycqcqBTPe99kgLtTpdxUQ32ZzunikRe1AL5Xk8ngt4psAL hxQUSfc79bX4FYzcGsnsH4Agr+Qx4jyl0tbEMvcHCBs9m9UyH0OnFhnmr g==; X-IronPort-AV: E=McAfee;i="6400,9594,10394"; a="368821026" X-IronPort-AV: E=Sophos;i="5.92,235,1650956400"; d="scan'208";a="368821026" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jun 2022 17:09:18 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,235,1650956400"; d="scan'208";a="596025463" Received: from lkp-server01.sh.intel.com (HELO 68b931ab7ac1) ([10.239.97.150]) by fmsmga007.fm.intel.com with ESMTP; 30 Jun 2022 17:09:17 -0700 Received: from kbuild by 68b931ab7ac1 with local (Exim 4.95) (envelope-from ) id 1o74Dk-000DL8-HW; Fri, 01 Jul 2022 00:09:16 +0000 Date: Fri, 1 Jul 2022 08:08:58 +0800 From: kernel test robot To: David Howells Cc: kbuild-all@lists.01.org, GNU/Weeb Mailing List , linux-kernel@vger.kernel.org Subject: [ammarfaizi2-block:dhowells/linux-fs/netfs-linked-list 56/56] include/linux/fscache.h:387: undefined reference to `__fscache_resize_cookie' Message-ID: <202207010846.LBBlghEK-lkp@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline List-Id: tree: https://github.com/ammarfaizi2/linux-block dhowells/linux-fs/netfs-linked-list head: acac17cdb0f9f6db9fc03eea371e399906146f96 commit: acac17cdb0f9f6db9fc03eea371e399906146f96 [56/56] netfs: Implement truncation config: x86_64-rhel-8.3-func (https://download.01.org/0day-ci/archive/20220701/202207010846.LBBlghEK-lkp@intel.com/config) compiler: gcc-11 (Debian 11.3.0-3) 11.3.0 reproduce (this is a W=1 build): # https://github.com/ammarfaizi2/linux-block/commit/acac17cdb0f9f6db9fc03eea371e399906146f96 git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-linked-list git checkout acac17cdb0f9f6db9fc03eea371e399906146f96 # save the config file mkdir build_dir && cp config build_dir/.config make W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot All errors (new ones prefixed by >>): ld: fs/netfs/truncate.o: in function `fscache_resize_cookie': >> include/linux/fscache.h:387: undefined reference to `__fscache_resize_cookie' ld: fs/9p/vfs_addr.o:(.rodata+0x138): undefined reference to `fscache_begin_cache_operation' vim +387 include/linux/fscache.h ed1235eb78a742 David Howells 2021-10-20 372 16a96bdf92d5af David Howells 2021-10-20 373 /** 16a96bdf92d5af David Howells 2021-10-20 374 * fscache_resize_cookie - Request that a cache object be resized 16a96bdf92d5af David Howells 2021-10-20 375 * @cookie: The cookie representing the cache object 16a96bdf92d5af David Howells 2021-10-20 376 * @new_size: The new size of the object (may be NULL) 16a96bdf92d5af David Howells 2021-10-20 377 * 16a96bdf92d5af David Howells 2021-10-20 378 * Request that the size of an object be changed. 16a96bdf92d5af David Howells 2021-10-20 379 * 16a96bdf92d5af David Howells 2021-10-20 380 * See Documentation/filesystems/caching/netfs-api.txt for a complete 16a96bdf92d5af David Howells 2021-10-20 381 * description. 16a96bdf92d5af David Howells 2021-10-20 382 */ 16a96bdf92d5af David Howells 2021-10-20 383 static inline 16a96bdf92d5af David Howells 2021-10-20 384 void fscache_resize_cookie(struct fscache_cookie *cookie, loff_t new_size) 16a96bdf92d5af David Howells 2021-10-20 385 { 16a96bdf92d5af David Howells 2021-10-20 386 if (fscache_cookie_enabled(cookie)) 16a96bdf92d5af David Howells 2021-10-20 @387 __fscache_resize_cookie(cookie, new_size); 16a96bdf92d5af David Howells 2021-10-20 388 } 16a96bdf92d5af David Howells 2021-10-20 389 :::::: The code at line 387 was first introduced by commit :::::: 16a96bdf92d5af06f9fa6a01a4b08e2fdfed2e5b fscache: Provide a function to resize a cookie :::::: TO: David Howells :::::: CC: David Howells -- 0-DAY CI Kernel Test Service https://01.org/lkp