public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq'
@ 2017-08-13  2:09 kbuild test robot
       [not found] ` <201708131058.lKYk3TId%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: kbuild test robot @ 2017-08-13  2:09 UTC (permalink / raw)
  To: Matan Barak
  Cc: kbuild-all-JC7UmRfGjtg, linux-rdma-u79uwXL29TY76Z2rM5mHXA,
	Doug Ledford

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

tree:   https://git.kernel.org/pub/scm/linux/kernel/git/dledford/rdma.git k.o/for-next
head:   d0d62c34fb746eaf68df5b3d6f4877c7d1e6320c
commit: e89bf462b6bece63a60723af88c76dce9dbe6b85 [5/34] IB/hns: Support compile test for hns RoCE driver
config: xtensa-allyesconfig (attached as .config)
compiler: xtensa-linux-gcc (GCC) 4.9.0
reproduce:
        wget https://raw.githubusercontent.com/01org/lkp-tests/master/sbin/make.cross -O ~/bin/make.cross
        chmod +x ~/bin/make.cross
        git checkout e89bf462b6bece63a60723af88c76dce9dbe6b85
        # save the attached .config to linux build tree
        make.cross ARCH=xtensa 

All errors (new ones prefixed by >>):

   In file included from drivers/infiniband/hw/hns/hns_roce_main.c:41:0:
   drivers/infiniband/hw/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
     __raw_writeq(*(u64 *) val, dest);
     ^
   cc1: some warnings being treated as errors
--
   In file included from drivers/infiniband/hw/hns/hns_roce_eq.c:35:0:
   drivers/infiniband/hw/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
     __raw_writeq(*(u64 *) val, dest);
     ^
   drivers/infiniband/hw/hns/hns_roce_eq.c: In function 'hns_roce_create_eq':
   drivers/infiniband/hw/hns/hns_roce_eq.c:568:2: warning: right shift count >= width of type
     roce_set_field(eqcuridx_val, ROCEE_CAEP_AEQE_CUR_IDX_CAEP_AEQ_BT_H_M,
     ^
   cc1: some warnings being treated as errors
--
   In file included from drivers/infiniband/hw/hns/hns_roce_hw_v1.c:39:0:
   drivers/infiniband/hw/hns/hns_roce_device.h: In function 'hns_roce_write64_k':
>> drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' [-Werror=implicit-function-declaration]
     __raw_writeq(*(u64 *) val, dest);
     ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_set_sdb_ext':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:496:2: warning: right shift count >= width of type
     roce_set_field(val, ROCEE_EXT_DB_SQ_H_EXT_DB_SQ_BA_H_M,
     ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_send_lp_wqe':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:951:18: warning: cast from pointer to integer of different size [-Wpointer-to-int-cast]
     send_wr.wr_id = (unsigned long long)&send_wr;
                     ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_raq_init':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1164:2: warning: right shift count >= width of type
     roce_set_field(val, ROCEE_EXT_RAQ_H_EXT_RAQ_BA_H_M,
     ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_write_mtpt':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1834:2: warning: right shift count >= width of type
     roce_set_field(mpt_entry->mpt_byte_12, MPT_BYTE_12_PBL_ADDR_H_M,
     ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_write_cqc':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:1994:2: warning: right shift count >= width of type
     roce_set_field(cq_context->cqc_byte_20,
     ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_m_sqp':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2472:3: warning: right shift count >= width of type
      roce_set_field(context->qp1c_bytes_12,
      ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c: In function 'hns_roce_v1_m_qp':
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2760:3: warning: right shift count >= width of type
      roce_set_field(context->qpc_bytes_24,
      ^
   drivers/infiniband/hw/hns/hns_roce_hw_v1.c:2772:3: warning: right shift count >= width of type
      roce_set_field(context->qpc_bytes_32,
      ^
   cc1: some warnings being treated as errors

vim +/__raw_writeq +625 drivers/infiniband/hw/hns/hns_roce_device.h

9a443537 oulijun 2016-07-21  622  
9a443537 oulijun 2016-07-21  623  static inline void hns_roce_write64_k(__be32 val[2], void __iomem *dest)
9a443537 oulijun 2016-07-21  624  {
9a443537 oulijun 2016-07-21 @625  	__raw_writeq(*(u64 *) val, dest);
9a443537 oulijun 2016-07-21  626  }
9a443537 oulijun 2016-07-21  627  

:::::: The code at line 625 was first introduced by commit
:::::: 9a4435375cd151e07c0c38fa601b00115986091b IB/hns: Add driver files for hns RoCE driver

:::::: TO: oulijun <oulijun-hv44wF8Li93QT0dZR+AlfA@public.gmane.org>
:::::: CC: Doug Ledford <dledford-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>

---
0-DAY kernel test infrastructure                Open Source Technology Center
https://lists.01.org/pipermail/kbuild-all                   Intel Corporation

[-- Attachment #2: .config.gz --]
[-- Type: application/gzip, Size: 51071 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-08-15  7:52 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-08-13  2:09 [rdma:k.o/for-next 5/34] drivers/infiniband/hw/hns/hns_roce_device.h:625:2: error: implicit declaration of function '__raw_writeq' kbuild test robot
     [not found] ` <201708131058.lKYk3TId%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2017-08-14 14:40   ` Doug Ledford
     [not found]     ` <5fd6a0f7-cbe4-8bd9-5310-fa2d64ec6829-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-14 14:47       ` Matan Barak
     [not found]         ` <4871c56c-ce7a-204a-0d54-5ea5aae604fd-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2017-08-14 14:56           ` Leon Romanovsky
     [not found]             ` <20170814145656.GJ24282-U/DQcQFIOTAAJjI8aNfphQ@public.gmane.org>
2017-08-14 15:18               ` Doug Ledford
     [not found]                 ` <1502723918.83939.2.camel-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2017-08-15  7:52                   ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox