public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Yang Li <yang.lee@linux.alibaba.com>, jaharkes@cs.cmu.edu
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	coda@cs.cmu.edu, codalist@coda.cs.cmu.edu,
	linux-kernel@vger.kernel.org,
	Yang Li <yang.lee@linux.alibaba.com>
Subject: Re: [PATCH] coda: Remove various instances of an unused variable 'outp'
Date: Fri, 2 Apr 2021 21:28:06 +0800	[thread overview]
Message-ID: <202104022152.v467TFun-lkp@intel.com> (raw)
In-Reply-To: <1617355775-68715-1-git-send-email-yang.lee@linux.alibaba.com>

[-- Attachment #1: Type: text/plain, Size: 5473 bytes --]

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@intel.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

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 34103 bytes --]

      parent reply	other threads:[~2021-04-02 13:28 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02  9:29 [PATCH] coda: Remove various instances of an unused variable 'outp' Yang Li
2021-04-02 11:11 ` kernel test robot
2021-04-02 13:28 ` kernel test robot [this message]

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=202104022152.v467TFun-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=coda@cs.cmu.edu \
    --cc=codalist@coda.cs.cmu.edu \
    --cc=jaharkes@cs.cmu.edu \
    --cc=kbuild-all@lists.01.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=yang.lee@linux.alibaba.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox