All of lore.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: David Howells <dhowells@redhat.com>
Cc: llvm@lists.linux.dev, oe-kbuild-all@lists.linux.dev
Subject: [dhowells-fs:cifs-netfs 50/53] fs/smb/client/inode.c:38:48: error: too few arguments to function call, expected 3, have 2
Date: Mon, 25 Dec 2023 14:05:16 +0800	[thread overview]
Message-ID: <202312251331.WbrilXdF-lkp@intel.com> (raw)

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

                 reply	other threads:[~2023-12-25  6:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=202312251331.WbrilXdF-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=dhowells@redhat.com \
    --cc=llvm@lists.linux.dev \
    --cc=oe-kbuild-all@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.