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@xxxxxxxxx> 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@xxxxxxxxxxxx
Attachment:
.config.gz
Description: application/gzip