Linux RDMA and InfiniBand development
 help / color / mirror / Atom feed
From: kernel test robot <lkp@intel.com>
To: Weihang Li <liweihang@huawei.com>, dledford@redhat.com, jgg@ziepe.ca
Cc: kbuild-all@lists.01.org, clang-built-linux@googlegroups.com,
	leon@kernel.org, linux-rdma@vger.kernel.org, linuxarm@huawei.com
Subject: Re: [PATCH for-next] RDMA/hns: Move capability flags of QP and CQ to hns-abi.h
Date: Wed, 2 Dec 2020 03:37:49 +0800	[thread overview]
Message-ID: <202012020314.59IARkVG-lkp@intel.com> (raw)
In-Reply-To: <1606829024-51856-1-git-send-email-liweihang@huawei.com>

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

Hi Weihang,

I love your patch! Yet something to improve:

[auto build test ERROR on rdma/for-next]
[also build test ERROR on next-20201201]
[cannot apply to linus/master v5.10-rc6]
[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/Weihang-Li/RDMA-hns-Move-capability-flags-of-QP-and-CQ-to-hns-abi-h/20201201-213105
base:   https://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdma.git for-next
config: x86_64-randconfig-a006-20201201 (attached as .config)
compiler: clang version 12.0.0 (https://github.com/llvm/llvm-project ac40a2d8f16b8a8c68fc811d67f647740e965cb8)
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/b93797e8106c9daaed3e9209905635a086354a5c
        git remote add linux-review https://github.com/0day-ci/linux
        git fetch --no-tags linux-review Weihang-Li/RDMA-hns-Move-capability-flags-of-QP-and-CQ-to-hns-abi-h/20201201-213105
        git checkout b93797e8106c9daaed3e9209905635a086354a5c
        # 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 >>):

   In file included from <built-in>:1:
>> ./usr/include/rdma/hns-abi.h:47:31: error: implicit declaration of function 'BIT' [-Werror,-Wimplicit-function-declaration]
           HNS_ROCE_CQ_FLAG_RECORD_DB = BIT(0),
                                        ^
>> ./usr/include/rdma/hns-abi.h:47:31: error: expression is not an integer constant expression
           HNS_ROCE_CQ_FLAG_RECORD_DB = BIT(0),
                                        ^~~~~~
   ./usr/include/rdma/hns-abi.h:77:33: error: expression is not an integer constant expression
           HNS_ROCE_QP_CAP_RQ_RECORD_DB = BIT(0),
                                          ^~~~~~
   ./usr/include/rdma/hns-abi.h:78:33: error: expression is not an integer constant expression
           HNS_ROCE_QP_CAP_SQ_RECORD_DB = BIT(1),
                                          ^~~~~~
   ./usr/include/rdma/hns-abi.h:79:29: error: expression is not an integer constant expression
           HNS_ROCE_QP_CAP_OWNER_DB = BIT(2),
                                      ^~~~~~
   5 errors generated.

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

      parent reply	other threads:[~2020-12-01 19:39 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-01 13:23 [PATCH for-next] RDMA/hns: Move capability flags of QP and CQ to hns-abi.h Weihang Li
2020-12-01 13:43 ` Jason Gunthorpe
2020-12-02  1:09   ` liweihang
2020-12-01 16:11 ` kernel test robot
2020-12-01 19:37 ` 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=202012020314.59IARkVG-lkp@intel.com \
    --to=lkp@intel.com \
    --cc=clang-built-linux@googlegroups.com \
    --cc=dledford@redhat.com \
    --cc=jgg@ziepe.ca \
    --cc=kbuild-all@lists.01.org \
    --cc=leon@kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=linuxarm@huawei.com \
    --cc=liweihang@huawei.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