This patch avoids that sparse and smatch report the following:
  warning: cast removes address space of expression
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Fixes: 3a6532c9af1a ("RDMA/uverbs: Use uverbs_attr_bundle to pass udata for write")
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
                         * then the command request structure starts
                         * with a '__aligned u64 response' member.
                         */
-                       ret = get_user(response, (const u64 *)buf);
+                       ret = get_user(response, (const u64 __user *)buf);
                        if (ret)
                                goto out_unlock;