]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
msg/async/rdma: use type safe chunk_base
authorKefu Chai <kchai@redhat.com>
Fri, 14 Apr 2017 05:37:25 +0000 (13:37 +0800)
committerKefu Chai <kchai@redhat.com>
Fri, 14 Apr 2017 10:30:41 +0000 (18:30 +0800)
commit28d43be0561e22b990cbb97564810f230fdc93f8
tree8d8aaf64026679e86bb39dc209b35abced5de27f
parent5d66f4fc5d34ed3d9e237819a06306f40a7bec27
msg/async/rdma: use type safe chunk_base

also silence the clang static analyzer warning of

Result of 'malloc' is converted to a pointer of type 'char', which is
incompatible with sizeof operand type 'class
Infiniband::MemoryManager::Chunk'

in Infiniband::MemoryManager::Cluster::fill()

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/msg/async/rdma/Infiniband.cc
src/msg/async/rdma/Infiniband.h