]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
msg: Initilization of uninitialized class Infiniband members 16781/head
authoramitkuma <amitkuma@redhat.com>
Thu, 3 Aug 2017 16:09:36 +0000 (21:39 +0530)
committeramitkuma <amitkuma@redhat.com>
Sat, 5 Aug 2017 18:41:53 +0000 (00:11 +0530)
commit52b68904591820ac830f583cc89251d66c89129c
treed3e7d56fbf7ed1453447f38f04f1247ccd062d5e
parentddab8e0dc2c2d085cfc23d4aff4fc0c4c4bfa310
msg: Initilization of uninitialized class Infiniband members

Fixes coverity issues:

1414516 Uninitialized pointer field
2. uninit_member: Non-static class member max_send_wr is not initialized in this constructor nor in any functions that it calls.
4. uninit_member: Non-static class member max_recv_wr is not initialized in this constructor nor in any functions that it calls.
6. uninit_member: Non-static class member max_sge is not initialized in this constructor nor in any functions that it calls.
8. uninit_member: Non-static class member ib_physical_port is not initialized in this constructor nor in any functions that it calls.
10. uninit_member: Non-static class member memory_manager is not initialized in this constructor nor in any functions that it calls.
12. uninit_member: Non-static class member srq is not initialized in this constructor nor in any functions that it calls.
14. uninit_member: Non-static class member device is not initialized in this constructor nor in any functions that it calls.
CID 1414516 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
16. uninit_member: Non-static class member pd is not initialized in this constructor nor in any functions that it calls.

Signed-off-by: Amit Kumar amitkuma@redhat.com
src/msg/async/rdma/Infiniband.h