* [dhowells-fs:afs-operation 9/18] fs/f2fs/node.c:1793:10: error: implicit declaration of function 'find_inode_nowait'
@ 2020-04-27 16:39 kbuild test robot
0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2020-04-27 16:39 UTC (permalink / raw)
To: kbuild-all
[-- Attachment #1: Type: text/plain, Size: 3109 bytes --]
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git afs-operation
head: a6acbd8fc907bea2455f1b0dadd17141a56f6921
commit: cd2f2a684aef6fc94a660a5ebefb6e48e4eec057 [9/18] vfs: Make the inode hash table RCU searchable
config: s390-randconfig-a001-20200427 (attached as .config)
compiler: clang version 11.0.0 (https://github.com/llvm/llvm-project 969e7edd88ceb4791eb1cac22828290f0ae30b3d)
reproduce:
wget https://raw.githubusercontent.com/intel/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
chmod +x ~/bin/make.cross
# install s390 cross compiling tool for clang build
# apt-get install binutils-s390-linux-gnu
git checkout cd2f2a684aef6fc94a660a5ebefb6e48e4eec057
# save the attached .config to linux build tree
COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross ARCH=s390
If you fix the issue, kindly add following tag as appropriate
Reported-by: kbuild test robot <lkp@intel.com>
All error/warnings (new ones prefixed by >>):
>> fs/f2fs/node.c:1793:10: error: implicit declaration of function 'find_inode_nowait' [-Werror,-Wimplicit-function-declaration]
inode = find_inode_nowait(sbi->sb, ino, f2fs_match_ino, NULL);
^
>> fs/f2fs/node.c:1793:8: warning: incompatible integer to pointer conversion assigning to 'struct inode *' from 'int' [-Wint-conversion]
inode = find_inode_nowait(sbi->sb, ino, f2fs_match_ino, NULL);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning and 1 error generated.
vim +/find_inode_nowait +1793 fs/f2fs/node.c
052a82d85a3b3e Chao Yu 2019-08-22 1786
052a82d85a3b3e Chao Yu 2019-08-22 1787 static bool flush_dirty_inode(struct page *page)
052a82d85a3b3e Chao Yu 2019-08-22 1788 {
052a82d85a3b3e Chao Yu 2019-08-22 1789 struct f2fs_sb_info *sbi = F2FS_P_SB(page);
052a82d85a3b3e Chao Yu 2019-08-22 1790 struct inode *inode;
052a82d85a3b3e Chao Yu 2019-08-22 1791 nid_t ino = ino_of_node(page);
052a82d85a3b3e Chao Yu 2019-08-22 1792
052a82d85a3b3e Chao Yu 2019-08-22 @1793 inode = find_inode_nowait(sbi->sb, ino, f2fs_match_ino, NULL);
052a82d85a3b3e Chao Yu 2019-08-22 1794 if (!inode)
052a82d85a3b3e Chao Yu 2019-08-22 1795 return false;
052a82d85a3b3e Chao Yu 2019-08-22 1796
052a82d85a3b3e Chao Yu 2019-08-22 1797 f2fs_update_inode(inode, page);
052a82d85a3b3e Chao Yu 2019-08-22 1798 unlock_page(page);
052a82d85a3b3e Chao Yu 2019-08-22 1799
052a82d85a3b3e Chao Yu 2019-08-22 1800 iput(inode);
052a82d85a3b3e Chao Yu 2019-08-22 1801 return true;
052a82d85a3b3e Chao Yu 2019-08-22 1802 }
052a82d85a3b3e Chao Yu 2019-08-22 1803
:::::: The code at line 1793 was first introduced by commit
:::::: 052a82d85a3b3eee6a386be2ba3b82278cf277ce f2fs: fix to writeout dirty inode during node flush
:::::: TO: Chao Yu <yuchao0@huawei.com>
:::::: CC: Jaegeuk Kim <jaegeuk@kernel.org>
---
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: 22018 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2020-04-27 16:39 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-04-27 16:39 [dhowells-fs:afs-operation 9/18] fs/f2fs/node.c:1793:10: error: implicit declaration of function 'find_inode_nowait' kbuild 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.