public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: kbuild-all@lists.01.org,
	GNU/Weeb Mailing List <gwml@vger.gnuweeb.org>,
	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'
Date: Fri, 1 Jul 2022 08:08:58 +0800	[thread overview]
Message-ID: <202207010846.LBBlghEK-lkp@intel.com> (raw)

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 <lkp@intel.com>

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 <dhowells@redhat.com>
:::::: CC: David Howells <dhowells@redhat.com>

-- 
0-DAY CI Kernel Test Service
https://01.org/lkp

                 reply	other threads:[~2022-07-01  0:09 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202207010846.LBBlghEK-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dhowells@redhat.com \
    --cc=gwml@vger.gnuweeb.org \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox