Re: [PATCH V3 rdma-core 0/5] Userspace library matching for hip08 RoCE

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Oct 24, 2017 at 06:28:36PM +0300, Leon Romanovsky wrote:
> On Tue, Oct 24, 2017 at 09:21:44PM +0800, Lijun Ou wrote:
> > This patch series add userspace library for hip08 RoCE driver. It will
> > work with the kernel driver of hip08 RoCE(hns-roce-hw-v2.ko).
> >
> > Change from V2:
> > - Fix the spelling with referred
> > - Eliminate the warning by travis-CI
> >
> > Change from V1:
> > - Fix build warning due to the strange placement of fprintf
> >
>
> I created pull request, but Travis CI doesn't seem like working.
> https://github.com/linux-rdma/rdma-core/pull/230
>
> I'll try to restart it a little bit later.

OK, I gave up and rerun it locally and it fails to compile.

Did you run cbuild travis?

➜  rdma-core git:(2017-10-24-2) python2 ./buildlib/cbuild pkg travis
<....>
[70/183] Building C object providers/i40iw/CMakeFiles/i40iw-rdmav16.dir/i40iw_umain.c.o
FAILED: /usr/bin/gcc-7  -Dhns_rdmav16_EXPORTS -Werror -m32  -std=gnu11 -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wmissing-prototypes -Wmissing-declarations -Wwrite-strings -Wformat=2 -Wshadow -Wstrict-prototypes -Wold-style-definition -Wredundant-decls -O2 -g  -fPIC -Iinclude -MMD -MT providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o -MF "providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o.d" -o providers/hns/CMakeFiles/hns-rdmav16.dir/hns_roce_u_hw_v2.c.o   -c ../providers/hns/hns_roce_u_hw_v2.c
../providers/hns/hns_roce_u_hw_v2.c: In function 'get_send_wqe':
../providers/hns/hns_roce_u_hw_v2.c:131:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  return (void *)((uint64_t)(qp->buf.buf) + qp->sq.offset +
                  ^
../providers/hns/hns_roce_u_hw_v2.c:131:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  return (void *)((uint64_t)(qp->buf.buf) + qp->sq.offset +
         ^
../providers/hns/hns_roce_u_hw_v2.c: In function 'get_send_sge_ex':
../providers/hns/hns_roce_u_hw_v2.c:137:18: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast]
  return (void *)((uint64_t)(qp->buf.buf) + qp->sge.offset +
                  ^
../providers/hns/hns_roce_u_hw_v2.c:137:9: error: cast to pointer from integer of different size [-Werror=int-to-pointer-cast]
  return (void *)((uint64_t)(qp->buf.buf) + qp->sge.offset +
         ^
cc1: all warnings being treated as errors
ninja: build stopped: subcommand failed.

Thanks

>
> Thanks


Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux