diff options
author | Bart Van Assche <bvanassche@acm.org> | 2019-03-27 16:50:46 -0700 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-28 10:22:48 -0300 |
commit | 2dcdebff5e84356824c800ae5217c02ef0f78b06 (patch) | |
tree | 5c67e4475e63acc316e7b2c7ff9aaa1b0fc86780 /drivers/vhost | |
parent | RDMA/uverbs: Add a __user annotation to a pointer (diff) | |
download | linux-dev-2dcdebff5e84356824c800ae5217c02ef0f78b06.tar.xz linux-dev-2dcdebff5e84356824c800ae5217c02ef0f78b06.zip |
RDMA/uverbs: Annotate uverbs_request_next_ptr() return value as a __user pointer
This patch avoids that sparse complains about a mismatch between the
returned value and the function return type.
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Fixes: c3bea3d2dc53 ("RDMA/uverbs: Use the iterator for ib_uverbs_unmarshall_recv()")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/vhost')
0 files changed, 0 insertions, 0 deletions