All of lore.kernel.org
 help / color / mirror / Atom feed
* [martinetd-linux:fscache 1/2] fs/9p/vfs_inode.c:379:2: error: implicit declaration of function 'fscache_clear_inode_writeback'
@ 2020-12-02  4:39 kernel test robot
  0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2020-12-02  4:39 UTC (permalink / raw)
  To: kbuild-all

[-- Attachment #1: Type: text/plain, Size: 3931 bytes --]

tree:   https://github.com/martinetd/linux.git fscache
head:   5007ea2ac6bd14bee1f82ab8c5edb50aebdc9d30
commit: 2017a096b892ce66825ec332ae8ebd0281cb0728 [1/2] 9p: Convert to new fscache API
config: x86_64-randconfig-a003-20201201 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project 2671fccf0381769276ca8246ec0499adcb9b0355)
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
        # install x86_64 cross compiling tool for clang build
        # apt-get install binutils-x86-64-linux-gnu
        # https://github.com/martinetd/linux/commit/2017a096b892ce66825ec332ae8ebd0281cb0728
        git remote add martinetd-linux https://github.com/martinetd/linux.git
        git fetch --no-tags martinetd-linux fscache
        git checkout 2017a096b892ce66825ec332ae8ebd0281cb0728
        # save the attached .config to linux build tree
        COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=x86_64 

If you fix the issue, kindly add following tag as appropriate
Reported-by: kernel test robot <lkp@intel.com>

All errors (new ones prefixed by >>):

>> fs/9p/vfs_inode.c:379:2: error: implicit declaration of function 'fscache_clear_inode_writeback' [-Werror,-Wimplicit-function-declaration]
           fscache_clear_inode_writeback(v9fs_inode_cookie(v9inode), inode,
           ^
   fs/9p/vfs_inode.c:379:2: note: did you mean 'sb_clear_inode_writeback'?
   include/linux/writeback.h:405:6: note: 'sb_clear_inode_writeback' declared here
   void sb_clear_inode_writeback(struct inode *inode);
        ^
>> fs/9p/vfs_inode.c:384:2: error: implicit declaration of function 'fscache_relinquish_cookie' [-Werror,-Wimplicit-function-declaration]
           fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false);
           ^
>> fs/9p/vfs_inode.c:850:2: error: implicit declaration of function 'fscache_use_cookie' [-Werror,-Wimplicit-function-declaration]
           fscache_use_cookie(v9fs_inode_cookie(v9inode), file->f_mode & FMODE_WRITE);
           ^
>> fs/9p/vfs_inode.c:1092:3: error: implicit declaration of function 'fscache_resize_cookie' [-Werror,-Wimplicit-function-declaration]
                   fscache_resize_cookie(v9fs_inode_cookie(v9inode), iattr->ia_size);
                   ^
   4 errors generated.
--
>> fs/9p/vfs_inode_dotl.c:343:2: error: implicit declaration of function 'fscache_use_cookie' [-Werror,-Wimplicit-function-declaration]
           fscache_use_cookie(v9fs_inode_cookie(v9inode), file->f_mode & FMODE_WRITE);
           ^
   1 error generated.
--
>> fs/9p/vfs_file.c:97:2: error: implicit declaration of function 'fscache_use_cookie' [-Werror,-Wimplicit-function-declaration]
           fscache_use_cookie(v9fs_inode_cookie(v9inode), file->f_mode & FMODE_WRITE);
           ^
   1 error generated.

vim +/fscache_clear_inode_writeback +379 fs/9p/vfs_inode.c

   368	
   369	/**
   370	 * v9fs_clear_inode - release an inode
   371	 * @inode: inode to release
   372	 *
   373	 */
   374	void v9fs_evict_inode(struct inode *inode)
   375	{
   376		struct v9fs_inode *v9inode = V9FS_I(inode);
   377	
   378		truncate_inode_pages_final(&inode->i_data);
 > 379		fscache_clear_inode_writeback(v9fs_inode_cookie(v9inode), inode,
   380					      &v9inode->qid.version);
   381		clear_inode(inode);
   382		filemap_fdatawrite(&inode->i_data);
   383	
 > 384		fscache_relinquish_cookie(v9fs_inode_cookie(v9inode), false);
   385		/* clunk the fid stashed in writeback_fid */
   386		if (v9inode->writeback_fid) {
   387			p9_client_clunk(v9inode->writeback_fid);
   388			v9inode->writeback_fid = NULL;
   389		}
   390	}
   391	

---
0-DAY CI Kernel Test Service, Intel Corporation
https://lists.01.org/hyperkitty/list/kbuild-all(a)lists.01.org

[-- Attachment #2: config.gz --]
[-- Type: application/gzip, Size: 43458 bytes --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-12-02  4:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-02  4:39 [martinetd-linux:fscache 1/2] fs/9p/vfs_inode.c:379:2: error: implicit declaration of function 'fscache_clear_inode_writeback' kernel test robot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.