public inbox for [email protected]
 help / color / mirror / Atom feed
* [ammarfaizi2-block:dhowells/linux-fs/netfs-maple 26/44] include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation'
@ 2022-04-23  1:14 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2022-04-23  1:14 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-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/[email protected]/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 <[email protected]>

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 <[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-04-23  1:15 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-23  1:14 [ammarfaizi2-block:dhowells/linux-fs/netfs-maple 26/44] include/linux/fscache.h:540: undefined reference to `__fscache_begin_write_operation' 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