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, 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 19:11:00 +0800	[thread overview]
Message-ID: <202104021937.vWyiORBY-lkp@intel.com> (raw)
In-Reply-To: <1617355775-68715-1-git-send-email-yang.lee@linux.alibaba.com>

[-- Attachment #1: Type: text/plain, Size: 6017 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: arc-randconfig-r014-20210402 (attached as .config)
compiler: arceb-elf-gcc (GCC) 9.3.0
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/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=gcc-9.3.0 make.cross ARCH=arc 

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: In function 'venus_setattr':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:118:2: note: in expansion of macro 'UPARG'
     118 |  UPARG(CODA_SETATTR);
         |  ^~~~~
   fs/coda/upcall.c:65:9: note: each undeclared identifier is reported only once for each function it appears in
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:118:2: note: in expansion of macro 'UPARG'
     118 |  UPARG(CODA_SETATTR);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_close':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:166:2: note: in expansion of macro 'UPARG'
     166 |  UPARG(CODA_CLOSE);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_rename':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:242:3: note: in expansion of macro 'UPARG'
     242 |   UPARG(CODA_RENAME);
         |   ^~~~~
   fs/coda/upcall.c: In function 'venus_rmdir':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:308:2: note: in expansion of macro 'UPARG'
     308 |  UPARG(CODA_RMDIR);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_remove':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:329:2: note: in expansion of macro 'UPARG'
     329 |  UPARG(CODA_REMOVE);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_link':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:383:9: note: in expansion of macro 'UPARG'
     383 |         UPARG(CODA_LINK);
         |         ^~~~~
   fs/coda/upcall.c: In function 'venus_symlink':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:409:2: note: in expansion of macro 'UPARG'
     409 |  UPARG(CODA_SYMLINK);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_fsync':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:439:2: note: in expansion of macro 'UPARG'
     439 |  UPARG(CODA_FSYNC);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_access':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:454:2: note: in expansion of macro 'UPARG'
     454 |  UPARG(CODA_ACCESS);
         |  ^~~~~
   fs/coda/upcall.c: In function 'venus_access_intent':
>> fs/coda/upcall.c:65:9: error: 'outp' undeclared (first use in this function); did you mean 'outl'?
      65 |         outp = (union outputArgs *)(inp); \
         |         ^~~~
   fs/coda/upcall.c:577:2: note: in expansion of macro 'UPARG'
     577 |  UPARG(CODA_ACCESS_INTENT);
         |  ^~~~~


vim +65 fs/coda/upcall.c

^1da177e4c3f41 Linus Torvalds 2005-04-16  60  
^1da177e4c3f41 Linus Torvalds 2005-04-16  61  #define UPARG(op)\
^1da177e4c3f41 Linus Torvalds 2005-04-16  62  do {\
^1da177e4c3f41 Linus Torvalds 2005-04-16  63  	inp = (union inputArgs *)alloc_upcall(op, insize); \
^1da177e4c3f41 Linus Torvalds 2005-04-16  64          if (IS_ERR(inp)) { return PTR_ERR(inp); }\
^1da177e4c3f41 Linus Torvalds 2005-04-16 @65          outp = (union outputArgs *)(inp); \
^1da177e4c3f41 Linus Torvalds 2005-04-16  66          outsize = insize; \
^1da177e4c3f41 Linus Torvalds 2005-04-16  67  } while (0)
^1da177e4c3f41 Linus Torvalds 2005-04-16  68  

---
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: 29974 bytes --]

  reply	other threads:[~2021-04-02 11:11 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 [this message]
2021-04-02 13:28 ` kernel test robot

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=202104021937.vWyiORBY-lkp@intel.com \
    --to=lkp@intel.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