* [dhowells-fs:cifs-netfs 50/53] fs/smb/client/inode.c:38:48: error: too few arguments to function call, expected 3, have 2
@ 2023-12-25 6:05 kernel test robot
0 siblings, 0 replies; only message in thread
From: kernel test robot @ 2023-12-25 6:05 UTC (permalink / raw)
To: David Howells; +Cc: llvm, oe-kbuild-all
tree: https://git.kernel.org/pub/scm/linux/kernel/git/dhowells/linux-fs.git cifs-netfs
head: 4eaec420b0b0b7fab9042432c8a3aaf665d6052f
commit: 89290190eb6aafd8831b148797ec5f781ed1c596 [50/53] cifs: Cut over to using netfslib
config: i386-buildonly-randconfig-002-20231225 (https://download.01.org/0day-ci/archive/20231225/202312251331.WbrilXdF-lkp@intel.com/config)
compiler: clang version 16.0.4 (https://github.com/llvm/llvm-project.git ae42196bc493ffe877a7e3dff8be32035dea4d07)
reproduce (this is a W=1 build): (https://download.01.org/0day-ci/archive/20231225/202312251331.WbrilXdF-lkp@intel.com/reproduce)
If you fix the issue in a separate patch/commit (i.e. not just a new version of
the same patch/commit), kindly add following tags
| Reported-by: kernel test robot <lkp@intel.com>
| Closes: https://lore.kernel.org/oe-kbuild-all/202312251331.WbrilXdF-lkp@intel.com/
All errors (new ones prefixed by >>):
>> fs/smb/client/inode.c:38:48: error: too few arguments to function call, expected 3, have 2
netfs_inode_init(&cifs_i->netfs, &cifs_req_ops);
~~~~~~~~~~~~~~~~ ^
include/linux/netfs.h:465:20: note: 'netfs_inode_init' declared here
static inline void netfs_inode_init(struct netfs_inode *ctx,
^
1 error generated.
vim +38 fs/smb/client/inode.c
29
30 /*
31 * Set parameters for the netfs library
32 */
33 static void cifs_set_netfs_context(struct inode *inode)
34 {
35 struct cifsInodeInfo *cifs_i = CIFS_I(inode);
36 struct cifs_sb_info *cifs_sb = CIFS_SB(inode->i_sb);
37
> 38 netfs_inode_init(&cifs_i->netfs, &cifs_req_ops);
39 if (cifs_sb->mnt_cifs_flags & CIFS_MOUNT_STRICT_IO)
40 __set_bit(NETFS_ICTX_WRITETHROUGH, &cifs_i->netfs.flags);
41 }
42
--
0-DAY CI Kernel Test Service
https://github.com/intel/lkp-tests/wiki
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2023-12-25 6:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-25 6:05 [dhowells-fs:cifs-netfs 50/53] fs/smb/client/inode.c:38:48: error: too few arguments to function call, expected 3, have 2 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.