lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Fri, 2 Apr 2021 21:28:06 +0800
From:   kernel test robot <lkp@...el.com>
To:     Yang Li <yang.lee@...ux.alibaba.com>, jaharkes@...cmu.edu
Cc:     kbuild-all@...ts.01.org, clang-built-linux@...glegroups.com,
        coda@...cmu.edu, codalist@...a.cs.cmu.edu,
        linux-kernel@...r.kernel.org, Yang Li <yang.lee@...ux.alibaba.com>
Subject: Re: [PATCH] coda: Remove various instances of an unused variable
 'outp'

Hi Yang,

Thank you for the patch! Yet something to improve:

[auto build test ERROR on linus/master]
[also build test ERROR on v5.12-rc5 next-20210401]
[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]

url:    https://github.com/0day-ci/linux/commits/Yang-Li/coda-Remove-various-instances-of-an-unused-variable-outp/20210402-173111
base:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git 1678e493d530e7977cce34e59a86bb86f3c5631e
config: x86_64-randconfig-a014-20210402 (attached as .config)
compiler: clang version 13.0.0 (https://github.com/llvm/llvm-project b23a314146956dd29b719ab537608ced736fc036)
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/0day-ci/linux/commit/b6484bc8a589df437829010ab82b49c48d56ee46
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Yang-Li/coda-Remove-various-instances-of-an-unused-variable-outp/20210402-173111
        git checkout b6484bc8a589df437829010ab82b49c48d56ee46
        # 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@...el.com>

All errors (new ones prefixed by >>):

>> fs/coda/upcall.c:118:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_SETATTR);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:166:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_CLOSE);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:242:3: error: use of undeclared identifier 'outp'
           UPARG(CODA_RENAME);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:308:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_RMDIR);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:329:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_REMOVE);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:383:9: error: use of undeclared identifier 'outp'
           UPARG(CODA_LINK);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:409:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_SYMLINK);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:439:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_FSYNC);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:454:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_ACCESS);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   fs/coda/upcall.c:577:2: error: use of undeclared identifier 'outp'
           UPARG(CODA_ACCESS_INTENT);
           ^
   fs/coda/upcall.c:65:9: note: expanded from macro 'UPARG'
           outp = (union outputArgs *)(inp); \
           ^
   10 errors generated.


vim +/outp +118 fs/coda/upcall.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  110  
^1da177e4c3f41 Linus Torvalds 2005-04-16  111  int venus_setattr(struct super_block *sb, struct CodaFid *fid, 
^1da177e4c3f41 Linus Torvalds 2005-04-16  112  		  struct coda_vattr *vattr)
^1da177e4c3f41 Linus Torvalds 2005-04-16  113  {
^1da177e4c3f41 Linus Torvalds 2005-04-16  114          union inputArgs *inp;
^1da177e4c3f41 Linus Torvalds 2005-04-16  115          int insize, outsize, error;
^1da177e4c3f41 Linus Torvalds 2005-04-16  116  	
^1da177e4c3f41 Linus Torvalds 2005-04-16  117  	insize = SIZE(setattr);
^1da177e4c3f41 Linus Torvalds 2005-04-16 @118  	UPARG(CODA_SETATTR);
^1da177e4c3f41 Linus Torvalds 2005-04-16  119  
^1da177e4c3f41 Linus Torvalds 2005-04-16  120          inp->coda_setattr.VFid = *fid;
^1da177e4c3f41 Linus Torvalds 2005-04-16  121  	inp->coda_setattr.attr = *vattr;
^1da177e4c3f41 Linus Torvalds 2005-04-16  122  
a1b0aa87647493 Jan Harkes     2007-07-19  123  	error = coda_upcall(coda_vcp(sb), insize, &outsize, inp);
^1da177e4c3f41 Linus Torvalds 2005-04-16  124  
936dae4525322f Dan Carpenter  2019-07-16  125  	kvfree(inp);
^1da177e4c3f41 Linus Torvalds 2005-04-16  126          return error;
^1da177e4c3f41 Linus Torvalds 2005-04-16  127  }
^1da177e4c3f41 Linus Torvalds 2005-04-16  128  

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

Download attachment ".config.gz" of type "application/gzip" (34103 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ