* [ammarfaizi2-block:dhowells/linux-fs/netfs-linked-list 56/56] include/linux/fscache.h:387: undefined reference to `__fscache_resize_cookie'
@ 2022-07-01 0:08 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-07-01 0:08 UTC (permalink / raw)
To: David Howells; +Cc: kbuild-all, GNU/Weeb Mailing List, linux-kernel
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/[email protected]/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 <[email protected]>
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 <[email protected]>
:::::: CC: David Howells <[email protected]>
--
0-DAY CI Kernel Test Service
https://01.org/lkp
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-01 0:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-07-01 0:08 [ammarfaizi2-block:dhowells/linux-fs/netfs-linked-list 56/56] include/linux/fscache.h:387: undefined reference to `__fscache_resize_cookie' kernel test robot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox