RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file
authorAdit Ranadive <aditr@vmware.com>
Thu, 15 Feb 2018 20:36:46 +0000 (12:36 -0800)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 15 Feb 2018 22:31:28 +0000 (15:31 -0700)
commit1f5a6c47aabc4606f91ad2e6ef71a1ff1924101c
tree32702e16752acbfb40b5cc00df09c1685039cece
parent5d4c05c3ee36f67ddc107ab5ea0898af01a62cc1
RDMA/vmw_pvrdma: Fix usage of user response structures in ABI file

This ensures that we return the right structures back to userspace.
Otherwise, it looks like the reserved fields in the response structures
in userspace might have uninitialized data in them.

Fixes: 8b10ba783c9d ("RDMA/vmw_pvrdma: Add shared receive queue support")
Fixes: 29c8d9eba550 ("IB: Add vmw_pvrdma driver")
Suggested-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Bryan Tan <bryantan@vmware.com>
Reviewed-by: Aditya Sarwade <asarwade@vmware.com>
Reviewed-by: Jorgen Hansen <jhansen@vmware.com>
Signed-off-by: Adit Ranadive <aditr@vmware.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/vmw_pvrdma/pvrdma_cq.c
drivers/infiniband/hw/vmw_pvrdma/pvrdma_srq.c
drivers/infiniband/hw/vmw_pvrdma/pvrdma_verbs.c