RDMA/uverbs: Use uverbs_response() for remaining response copying
authorJason Gunthorpe <jgg@mellanox.com>
Sun, 25 Nov 2018 18:58:37 +0000 (20:58 +0200)
committerDoug Ledford <dledford@redhat.com>
Mon, 3 Dec 2018 17:01:58 +0000 (12:01 -0500)
commit9a0738575f2691d3a417fb5f83b6dcdaf0dcc36e
tree8ae459f0d7ab5fbb1e5adf8371d1283920dc0e87
parent931373a118acce816561f04dc9832b85172e65b8
RDMA/uverbs: Use uverbs_response() for remaining response copying

This function properly truncates and zero-fills the response which is the
standard used by the ioctl uAPI when working with user data.

Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs_cmd.c