RDMA/uverbs: Add a __user annotation to a pointer
This patch avoids that sparse and smatch report the following: warning: cast removes address space of expression Reviewed-by: NLeon Romanovsky <leonro@mellanox.com> Fixes: 3a6532c9 ("RDMA/uverbs: Use uverbs_attr_bundle to pass udata for write") Signed-off-by: NBart Van Assche <bvanassche@acm.org> Signed-off-by: NJason Gunthorpe <jgg@mellanox.com>
Showing
想要评论请 注册 或 登录