From: kbuild test robot <lkp@intel.com>
To: "Wei Hu(Xavier)" <xavier.huwei@huawei.com>
Cc: kbuild-all@01.org, dledford@redhat.com, sean.hefty@intel.com,
hal.rosenstock@gmail.com, davem@davemloft.net,
jeffrey.t.kirsher@intel.com, jiri@mellanox.com,
ogerlitz@mellanox.com, linux-rdma@vger.kernel.org,
linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
gongyangming@huawei.com, xiaokun@huawei.com,
tangchaofei@huawei.com, oulijun@huawei.com,
haifeng.wei@huawei.com, yisen.zhuang@huawei.com,
yankejian@huawei.com, lisheng011@huawei.com,
charles.chenxin@huawei.com, linuxarm@huawei.com
Subject: Re: [PATCH 4/4] infiniband: hns: add Hisilicon RoCE support(Kconfig)
Date: Fri, 4 Mar 2016 20:10:56 +0800 [thread overview]
Message-ID: <201603042059.A0IVxKAt%fengguang.wu@intel.com> (raw)
In-Reply-To: <1457080877-13456-5-git-send-email-xavier.huwei@huawei.com>
[-- Attachment #1: Type: text/plain, Size: 12992 bytes --]
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
[-- Attachment #2: .config.gz --]
[-- Type: application/octet-stream, Size: 53473 bytes --]
next prev parent reply other threads:[~2016-03-04 12:12 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-03-04 8:41 [PATCH 0/4] infiniband: hns: Hisilicon RoCE support Wei Hu(Xavier)
2016-03-04 8:41 ` [PATCH 1/4] net: hns: add Hisilicon RoCE support(the dependent routine) Wei Hu(Xavier)
2016-03-06 14:25 ` Leon Romanovsky
2016-03-09 11:20 ` oulijun
2016-03-04 8:41 ` [PATCH 2/4] infiniband: hns: add Hisilicon RoCE support(binding) Wei Hu(Xavier)
2016-03-04 13:51 ` Sergei Shtylyov
2016-03-09 10:56 ` oulijun
2016-03-04 8:41 ` [PATCH 3/4] infiniband: hns: add Hisilicon RoCE support(driver code) Wei Hu(Xavier)
2016-03-04 9:16 ` Jiri Pirko
2016-03-09 11:18 ` oulijun
2016-03-09 11:25 ` Jiri Pirko
2016-03-04 8:41 ` [PATCH 4/4] infiniband: hns: add Hisilicon RoCE support(Kconfig) Wei Hu(Xavier)
2016-03-04 12:10 ` kbuild test robot [this message]
2016-03-04 12:10 ` [PATCH] infiniband: hns: fix boolreturn.cocci warnings kbuild test robot
2016-03-04 12:10 ` [PATCH] infiniband: hns: fix returnvar.cocci warnings kbuild test robot
2016-03-04 12:10 ` [PATCH] infiniband: hns: fix semicolon.cocci warnings kbuild test robot
2016-03-06 14:29 ` [PATCH 4/4] infiniband: hns: add Hisilicon RoCE support(Kconfig) Leon Romanovsky
2016-03-09 11:23 ` oulijun
2016-03-06 14:19 ` [PATCH 0/4] infiniband: hns: Hisilicon RoCE support Leon Romanovsky
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=201603042059.A0IVxKAt%fengguang.wu@intel.com \
--to=lkp@intel.com \
--cc=charles.chenxin@huawei.com \
--cc=davem@davemloft.net \
--cc=dledford@redhat.com \
--cc=gongyangming@huawei.com \
--cc=haifeng.wei@huawei.com \
--cc=hal.rosenstock@gmail.com \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jiri@mellanox.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rdma@vger.kernel.org \
--cc=linuxarm@huawei.com \
--cc=lisheng011@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=ogerlitz@mellanox.com \
--cc=oulijun@huawei.com \
--cc=sean.hefty@intel.com \
--cc=tangchaofei@huawei.com \
--cc=xavier.huwei@huawei.com \
--cc=xiaokun@huawei.com \
--cc=yankejian@huawei.com \
--cc=yisen.zhuang@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
all inboxes | Powered by JetHome®