Hi Enzo, Thank you for the patch! Perhaps something to improve: [auto build test WARNING on cifs/for-next] [cannot apply to linus/master v5.19 next-20220812] [If your patch is applied to the wrong git tree, kindly drop us a note. And when submitting patch, we suggest to use '--base' as documented in https://git-scm.com/docs/git-format-patch#_base_tree_information] url: https://github.com/intel-lab-lkp/linux/commits/Enzo-Matsumiya/cifs-distribute-some-bloat-out-of-cifsfs-c-h/20220803-002506 base: git://git.samba.org/sfrench/cifs-2.6.git for-next config: x86_64-randconfig-a001 (https://download.01.org/0day-ci/archive/20220814/202208140432.tekRJ3MS-lkp@xxxxxxxxx/config) compiler: clang version 16.0.0 (https://github.com/llvm/llvm-project 495519e5f8232d144ed26e9c18dbcbac6a5f25eb) 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/intel-lab-lkp/linux/commit/ea8b8b846e20b620293cc6b0c18da500ab45fe97 git remote add linux-review https://github.com/intel-lab-lkp/linux git fetch --no-tags linux-review Enzo-Matsumiya/cifs-distribute-some-bloat-out-of-cifsfs-c-h/20220803-002506 git checkout ea8b8b846e20b620293cc6b0c18da500ab45fe97 # save the config file mkdir build_dir && cp config build_dir/.config COMPILER_INSTALL_PATH=$HOME/0day COMPILER=clang make.cross W=1 O=build_dir ARCH=x86_64 SHELL=/bin/bash fs/cifs/ If you fix the issue, kindly add following tag where applicable Reported-by: kernel test robot <lkp@xxxxxxxxx> All warnings (new ones prefixed by >>): >> fs/cifs/ioctl.c:326:10: warning: unused variable 'caps' [-Wunused-variable] __u64 caps; ^ 1 warning generated. vim +/caps +326 fs/cifs/ioctl.c 7ba3d1cdb7988c Steve French 2021-05-02 313 f9ddcca4cf7d95 Steve French 2008-05-15 314 long cifs_ioctl(struct file *filep, unsigned int command, unsigned long arg) ^1da177e4c3f41 Linus Torvalds 2005-04-16 315 { 496ad9aa8ef448 Al Viro 2013-01-23 316 struct inode *inode = file_inode(filep); 7e7db86c7e1088 Steve French 2019-09-19 317 struct smb3_key_debug_info pkey_inf; ^1da177e4c3f41 Linus Torvalds 2005-04-16 318 int rc = -ENOTTY; /* strange error - but the precedent */ 6d5786a34d98bf Pavel Shilovsky 2012-06-20 319 unsigned int xid; ba00ba64cf0895 Jeff Layton 2010-09-20 320 struct cifsFileInfo *pSMBFile = filep->private_data; 96daf2b09178d8 Steve French 2011-05-27 321 struct cifs_tcon *tcon; a77592a70081ed Ronnie Sahlberg 2020-07-09 322 struct tcon_link *tlink; d26c2ddd335696 Steve French 2020-02-06 323 struct cifs_sb_info *cifs_sb; f654bac2227adc Steve French 2005-04-28 324 __u64 ExtAttrBits = 0; ea8b8b846e20b6 Enzo Matsumiya 2022-08-02 325 #ifdef CONFIG_CIFS_ALLOW_INSECURE_LEGACY 618763958b2291 Jeff Layton 2010-11-08 @326 __u64 caps; -- 0-DAY CI Kernel Test Service https://01.org/lkp