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 mga07.intel.com (mga07.intel.com [134.134.136.100]) by gnuweeb.org (Postfix) with ESMTPS id 4411A7E76C for ; Sat, 23 Apr 2022 01:15:36 +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=IM3Q8yQz; 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=1650676536; x=1682212536; h=date:from:to:cc:subject:message-id:mime-version; bh=kAE4EkRynMmHZuZVooQDcnPKLK4VaZhgzbo6HL5JbxM=; b=IM3Q8yQzaevYBDIn4l7/SYWYUVPhkuu+n0ax/Bb99z+r/jjRqgBonKnl utMWWIOB9Cs8SVuRDP/KQqm889wbbxeqH3h9MrwRmF6GtGqMva6BGVE+f j7kVYVWVDs9KK0hvlBSqcd4JyDto8nSMTDZJWCoGPe9Snn24SYJK9Ypg+ SkuSukof2bovuvsQEvgnDhF+Puf9E/z6xhxpjaBBaje0jEuS9B2ggaqNI MBLy+tB9cx8Rk1KB+S51LOQTKPYUvjL7FmCWgAMXfDgnBun6r15nTH6wQ 0WXTWnhduurCP2BZEPcfzX1cCES42Ru/+5dJf36QldcCAZXuim7gXFdIX g==; X-IronPort-AV: E=McAfee;i="6400,9594,10324"; a="327740392" X-IronPort-AV: E=Sophos;i="5.90,283,1643702400"; d="scan'208";a="327740392" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Apr 2022 18:15:35 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,283,1643702400"; d="scan'208";a="806229938" Received: from lkp-server01.sh.intel.com (HELO 3abc53900bec) ([10.239.97.150]) by fmsmga006.fm.intel.com with ESMTP; 22 Apr 2022 18:15:34 -0700 Received: from kbuild by 3abc53900bec with local (Exim 4.95) (envelope-from ) id 1ni4N3-000AlG-Ej; Sat, 23 Apr 2022 01:15:33 +0000 Date: Sat, 23 Apr 2022 09:14:48 +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-maple 26/44] include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation' Message-ID: <202204230943.UBa5uRYJ-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-maple head: 931e50676c6598d0eda1954ead465519ff91874d commit: 1cdfbd29bdd34acf57d11846369b44dbab7b4d3a [26/44] netfs: Dispatch write requests to process a writeback slice config: microblaze-randconfig-r006-20220422 (https://download.01.org/0day-ci/archive/20220423/202204230943.UBa5uRYJ-lkp@intel.com/config) compiler: microblaze-linux-gcc (GCC) 11.2.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/ammarfaizi2/linux-block/commit/1cdfbd29bdd34acf57d11846369b44dbab7b4d3a git remote add ammarfaizi2-block https://github.com/ammarfaizi2/linux-block git fetch --no-tags ammarfaizi2-block dhowells/linux-fs/netfs-maple git checkout 1cdfbd29bdd34acf57d11846369b44dbab7b4d3a # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=gcc-11.2.0 make.cross W=1 O=build_dir ARCH=microblaze SHELL=/bin/bash If you fix the issue, kindly add following tag as appropriate Reported-by: kernel test robot All errors (new ones prefixed by >>): microblaze-linux-ld: fs/netfs/output.o: in function `fscache_begin_write_operation': >> include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation' vim +540 include/linux/fscache.h 9af1c6c3089b29 David Howells 2021-10-20 516 16f2f4e679cfda David Howells 2021-08-27 517 /** 16f2f4e679cfda David Howells 2021-08-27 518 * fscache_begin_write_operation - Begin a write operation for the netfs lib 16f2f4e679cfda David Howells 2021-08-27 519 * @cres: The cache resources for the write being performed 16f2f4e679cfda David Howells 2021-08-27 520 * @cookie: The cookie representing the cache object 16f2f4e679cfda David Howells 2021-08-27 521 * 16f2f4e679cfda David Howells 2021-08-27 522 * Begin a write operation on behalf of the netfs helper library. @cres 16f2f4e679cfda David Howells 2021-08-27 523 * indicates the cache resources to which the operation state should be 16f2f4e679cfda David Howells 2021-08-27 524 * attached; @cookie indicates the cache object that will be accessed. 16f2f4e679cfda David Howells 2021-08-27 525 * 16f2f4e679cfda David Howells 2021-08-27 526 * @cres->inval_counter is set from @cookie->inval_counter for comparison at 16f2f4e679cfda David Howells 2021-08-27 527 * the end of the operation. This allows invalidation during the operation to 16f2f4e679cfda David Howells 2021-08-27 528 * be detected by the caller. 16f2f4e679cfda David Howells 2021-08-27 529 * 16f2f4e679cfda David Howells 2021-08-27 530 * Returns: 16f2f4e679cfda David Howells 2021-08-27 531 * * 0 - Success 16f2f4e679cfda David Howells 2021-08-27 532 * * -ENOBUFS - No caching available 16f2f4e679cfda David Howells 2021-08-27 533 * * Other error code from the cache, such as -ENOMEM. 16f2f4e679cfda David Howells 2021-08-27 534 */ 16f2f4e679cfda David Howells 2021-08-27 535 static inline 16f2f4e679cfda David Howells 2021-08-27 536 int fscache_begin_write_operation(struct netfs_cache_resources *cres, 16f2f4e679cfda David Howells 2021-08-27 537 struct fscache_cookie *cookie) 16f2f4e679cfda David Howells 2021-08-27 538 { 16f2f4e679cfda David Howells 2021-08-27 539 if (fscache_cookie_enabled(cookie)) 16f2f4e679cfda David Howells 2021-08-27 @540 return __fscache_begin_write_operation(cres, cookie); 16f2f4e679cfda David Howells 2021-08-27 541 return -ENOBUFS; 16f2f4e679cfda David Howells 2021-08-27 542 } 16f2f4e679cfda David Howells 2021-08-27 543 :::::: The code at line 540 was first introduced by commit :::::: 16f2f4e679cfdaa9552574484f104014908a76c6 nfs: Implement cache I/O by accessing the cache directly :::::: TO: David Howells :::::: CC: David Howells -- 0-DAY CI Kernel Test Service https://01.org/lkp