[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <201603042059.A0IVxKAt%fengguang.wu@intel.com>
Date: Fri, 4 Mar 2016 20:10:56 +0800
From: kbuild test robot <lkp@...el.com>
To: "Wei Hu(Xavier)" <xavier.huwei@...wei.com>
Cc: kbuild-all@...org, dledford@...hat.com, sean.hefty@...el.com,
hal.rosenstock@...il.com, davem@...emloft.net,
jeffrey.t.kirsher@...el.com, jiri@...lanox.com,
ogerlitz@...lanox.com, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org, netdev@...r.kernel.org,
gongyangming@...wei.com, xiaokun@...wei.com,
tangchaofei@...wei.com, oulijun@...wei.com, haifeng.wei@...wei.com,
yisen.zhuang@...wei.com, yankejian@...wei.com,
lisheng011@...wei.com, charles.chenxin@...wei.com,
linuxarm@...wei.com
Subject: Re: [PATCH 4/4] infiniband: hns: add Hisilicon RoCE support(Kconfig)
Hi Wei,
[auto build test ERROR on rdma/master]
[also build test ERROR on v4.5-rc6 next-20160303]
[if your patch is applied to the wrong git tree, please drop us a note to help improving the system]
url: https://github.com/0day-ci/linux/commits/Wei-Hu-Xavier/infiniband-hns-Hisilicon-RoCE-support/20160304-163842
base: https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma master
config: i386-allmodconfig (attached as .config)
reproduce:
# save the attached .config to linux build tree
make ARCH=i386
All error/warnings (new ones prefixed by >>):
drivers/gpu/drm/gma500/cdv_intel_dp.c: In function 'cdv_intel_dp_i2c_init':
drivers/gpu/drm/gma500/cdv_intel_dp.c:868:2: warning: 'i2c_dp_aux_add_bus' is deprecated [-Wdeprecated-declarations]
ret = i2c_dp_aux_add_bus(&intel_dp->adapter);
^
drivers/gpu/drm/gma500/cdv_intel_dp.c:224:1: note: declared here
i2c_dp_aux_add_bus(struct i2c_adapter *adapter)
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_main.c:44:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_main.o] Error 1
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_cmd.c:21:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_cmd.o] Error 1
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_eq.c:16:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_eq.c:15:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_eq.c: In function 'hns_roce_create_eq':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_eq.c:591:23: warning: right shift count >= width of type [-Wshift-count-overflow]
eq->buf_list[0].map >> ADDR_SHIFT_44);
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_eq.o] Error 1
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_pd.c:19:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_pd.o] Error 1
drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:39: warning: initialization from incompatible pointer type [-Wincompatible-pointer-types]
.dpms = /*drm_helper_connector_dpms*/mdfld_dsi_connector_dpms,
^
drivers/gpu/drm/gma500/mdfld_dsi_output.c:407:39: note: (near initialization for 'mdfld_dsi_connector_funcs.dpms')
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_ah.c:18:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_ah.o] Error 1
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_icm.c:17:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_mr.c:16:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_mr.o] Error 1
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_icm.o] Error 1
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_qp.c:16:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_cq.c:14:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_cq.o] Error 1
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_qp.o] Error 1
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_alloc.c:17:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:22:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_device.h:711:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
__raw_writeq(*(u64 *) val, dest);
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:21:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c: In function 'hns_roce_set_sdb_ext':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:540:16: warning: right shift count >= width of type [-Wshift-count-overflow]
sdb_dma_addr >> ADDR_SHIFT_44);
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c: In function 'hns_roce_raq_init':
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:819:23: warning: right shift count >= width of type [-Wshift-count-overflow]
raq->e_raq_buf->map >> ADDR_SHIFT_44);
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c: In function 'hns_roce_v1_write_mtpt':
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:1348:27: warning: right shift count >= width of type [-Wshift-count-overflow]
((u32)(mr->pbl_dma_addr >> ADDR_SHIFT_32)));
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c: In function 'hns_roce_v1_write_cqc':
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:1530:3: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
(u64)tptr_addr >> ADDR_SHIFT_44);
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:1533:38: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
cq_context->cqe_tptr_addr_l = (u32)((u64)tptr_addr >> ADDR_SHIFT_12);
^
In file included from drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:21:0:
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c: In function 'hns_roce_v1_m_sqp':
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:1964:22: warning: right shift count >= width of type [-Wshift-count-overflow]
((u32)(dma_handle >> ADDR_SHIFT_32)));
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c: In function 'hns_roce_v1_m_qp':
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:2270:22: warning: right shift count >= width of type [-Wshift-count-overflow]
((u32)(dma_handle >> ADDR_SHIFT_32)));
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:2282:24: warning: right shift count >= width of type [-Wshift-count-overflow]
((u32)(dma_handle_2 >> 32)) &
^
drivers/infiniband/hw/hisilicon/hns/hns_roce_common.h:31:18: note: in definition of macro 'roce_set_field'
(origin) |= (((val) << (shift)) & (mask)); \
^
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_alloc.o] Error 1
cc1: some warnings being treated as errors
make[5]: *** [drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.o] Error 1
make[5]: Target '__build' not remade because of errors.
make[4]: *** [drivers/infiniband/hw/hisilicon/hns] Error 2
make[4]: Target '__build' not remade because of errors.
make[3]: *** [drivers/infiniband/hw] Error 2
make[3]: Target '__build' not remade because of errors.
make[2]: *** [drivers/infiniband] Error 2
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c: In function 'vmw_cmdbuf_header_submit':
drivers/gpu/drm/vmwgfx/vmwgfx_cmdbuf.c:297:25: warning: right shift count >= width of type [-Wshift-count-overflow]
val = (header->handle >> 32);
^
drivers/isdn/icn/icn.c: In function 'icn_sendbuf':
drivers/isdn/icn/icn.c:721:2: warning: #warning TODO test headroom or use skb->nb to flag ACK [-Wcpp]
#warning TODO test headroom or use skb->nb to flag ACK
^
drivers/ntb/test/ntb_perf.c: In function 'perf_copy':
drivers/ntb/test/ntb_perf.c:213:10: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
vbase = (u64)(u64 *)mw->vbase;
^
drivers/ntb/test/ntb_perf.c:214:14: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
dst_vaddr = (u64)(u64 *)dst;
^
make[2]: Target '__build' not remade because of errors.
coccinelle warnings: (new ones prefixed by >>)
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_qp.c:906:9-10: WARNING: return of 0/1 in function 'hns_roce_wq_overflow' with return type bool
--
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_v1_hw.c:1562:5-8: Unneeded variable: "ret". Return "0" on line 1587
--
>> drivers/infiniband/hw/hisilicon/hns/hns_roce_eq.c:292:3-4: Unneeded semicolon
Please review and possibly fold the followup patch.
---
0-DAY kernel test infrastructure Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all Intel Corporation
Download attachment ".config.gz" of type "application/octet-stream" (53473 bytes)
Powered by blists - more mailing lists