Hi Selvin, [auto build test ERROR on rdma/master] [also build test ERROR on v4.9-rc8 next-20161208] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system]
url: https://github.com/0day-ci/linux/commits/Selvin-Xavier/Broadcom-RoCE-Driver-bnxt_re/20161209-154823 base: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git master config: parisc-allyesconfig (attached as .config) compiler: hppa-linux-gnu-gcc (Debian 6.1.1-9) 6.1.1 20160705 reproduce: wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross chmod +x ~/bin/make.cross # save the attached .config to linux build tree make.cross ARCH=parisc All errors (new ones prefixed by >>): drivers/infiniband/hw/bnxtre/bnxt_qplib_rcfw.c: In function 'bnxt_qplib_creq_irq': >> drivers/infiniband/hw/bnxtre/bnxt_qplib_rcfw.c:359:2: error: implicit >> declaration of function 'prefetch' [-Werror=implicit-function-declaration] prefetch(&creq_ptr[CREQ_PG(sw_cons)][CREQ_IDX(sw_cons)]); ^~~~~~~~ cc1: some warnings being treated as errors -- drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_service_nq': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:145:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] bnxt_qplib_arm_cq_enable((struct bnxt_qplib_cq *) ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:147:29: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] if (!nq->cqn_handler(nq, (struct bnxt_qplib_cq *) ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_nq_irq': >> drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:182:2: error: implicit >> declaration of function 'prefetch' [-Werror=implicit-function-declaration] prefetch(&nq_ptr[NQE_PG(sw_cons)][NQE_IDX(sw_cons)]); ^~~~~~~~ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_create_qp': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:484:16: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] psn_search = (unsigned long long int) ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_destroy_qp': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1071:22: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] __clean_cq(qp->scq, (u64)qp); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1073:23: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] __clean_cq(qp->rcq, (u64)qp); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function '__flush_sq': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1630:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function '__flush_rq': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1664:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_cq_process_req': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1688:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1720:20: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_cq_process_res_rc': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1782:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1794:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_cq_process_res_ud': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1836:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1847:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_cq_process_res_raweth_qp1': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1893:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1902:19: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c: In function 'bnxt_qplib_cq_process_terminal': drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:1964:7: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] qp = (struct bnxt_qplib_qp *)le64_to_cpu(hwcqe->qp_handle); ^ drivers/infiniband/hw/bnxtre/bnxt_qplib_fp.c:2005:21: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast] cqe->qp_handle = (u64)qp; ^ cc1: some warnings being treated as errors vim +/prefetch +359 drivers/infiniband/hw/bnxtre/bnxt_qplib_rcfw.c bd53aa95 Selvin Xavier 2016-12-08 343 CREQ_DB_REARM(rcfw->creq_bar_reg_iomem, raw_cons, bd53aa95 Selvin Xavier 2016-12-08 344 creq->max_elements); bd53aa95 Selvin Xavier 2016-12-08 345 } bd53aa95 Selvin Xavier 2016-12-08 346 spin_unlock_irqrestore(&creq->lock, flags); bd53aa95 Selvin Xavier 2016-12-08 347 } bd53aa95 Selvin Xavier 2016-12-08 348 bd53aa95 Selvin Xavier 2016-12-08 349 static irqreturn_t bnxt_qplib_creq_irq(int irq, void *dev_instance) bd53aa95 Selvin Xavier 2016-12-08 350 { bd53aa95 Selvin Xavier 2016-12-08 351 struct bnxt_qplib_rcfw *rcfw = dev_instance; bd53aa95 Selvin Xavier 2016-12-08 352 struct bnxt_qplib_hwq *creq = &rcfw->creq; bd53aa95 Selvin Xavier 2016-12-08 353 struct creq_base **creq_ptr; bd53aa95 Selvin Xavier 2016-12-08 354 u32 sw_cons; bd53aa95 Selvin Xavier 2016-12-08 355 bd53aa95 Selvin Xavier 2016-12-08 356 /* Prefetch the CREQ element */ bd53aa95 Selvin Xavier 2016-12-08 357 sw_cons = HWQ_CMP(creq->cons, creq); bd53aa95 Selvin Xavier 2016-12-08 358 creq_ptr = (struct creq_base **)rcfw->creq.pbl_ptr; bd53aa95 Selvin Xavier 2016-12-08 @359 prefetch(&creq_ptr[CREQ_PG(sw_cons)][CREQ_IDX(sw_cons)]); bd53aa95 Selvin Xavier 2016-12-08 360 bd53aa95 Selvin Xavier 2016-12-08 361 tasklet_schedule(&rcfw->worker); bd53aa95 Selvin Xavier 2016-12-08 362 bd53aa95 Selvin Xavier 2016-12-08 363 return IRQ_HANDLED; bd53aa95 Selvin Xavier 2016-12-08 364 } bd53aa95 Selvin Xavier 2016-12-08 365 bd53aa95 Selvin Xavier 2016-12-08 366 /* RCFW */ bd53aa95 Selvin Xavier 2016-12-08 367 int bnxt_qplib_deinit_rcfw(struct bnxt_qplib_rcfw *rcfw) :::::: The code at line 359 was first introduced by commit :::::: bd53aa95a8998c3192837b1d2d6c6e795adf3276 bnxt_re: Enabling RoCE control path :::::: TO: Selvin Xavier <selvin.xav...@broadcom.com> :::::: CC: 0day robot <fengguang...@intel.com> --- 0-DAY kernel test infrastructure Open Source Technology Center https://lists.01.org/pipermail/kbuild-all Intel Corporation
.config.gz
Description: application/gzip