OSDN Git Service

RDMA/pvrdma: Properly annotate QP states
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 11 Mar 2018 11:51:34 +0000 (13:51 +0200)
committerDoug Ledford <dledford@redhat.com>
Wed, 14 Mar 2018 19:34:25 +0000 (15:34 -0400)
commitfbf1795c969ae81a0c292ca0ee0baa944da4ede3
treed6778a83b79fc78486fb85b558ad3ecad67f54c2
parent88de869bbe4fb669ae92f19225a90b07d8173ccb
RDMA/pvrdma: Properly annotate QP states

QP states provided by core layer are converted to enum ib_qp_state
and better to use internal variable in that type instead of int.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_qp.c