|
@@ -634,10 +634,10 @@ out:
|
|
|
return ERR_PTR(ret);
|
|
|
}
|
|
|
|
|
|
-int __nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd,
|
|
|
- void __user *ubuffer, unsigned bufflen,
|
|
|
- void __user *meta_buffer, unsigned meta_len, u32 meta_seed,
|
|
|
- u32 *result, unsigned timeout)
|
|
|
+static int __nvme_submit_user_cmd(struct request_queue *q,
|
|
|
+ struct nvme_command *cmd, void __user *ubuffer,
|
|
|
+ unsigned bufflen, void __user *meta_buffer, unsigned meta_len,
|
|
|
+ u32 meta_seed, u32 *result, unsigned timeout)
|
|
|
{
|
|
|
bool write = nvme_is_write(cmd);
|
|
|
struct nvme_ns *ns = q->queuedata;
|
|
@@ -690,7 +690,7 @@ int __nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd,
|
|
|
return ret;
|
|
|
}
|
|
|
|
|
|
-int nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd,
|
|
|
+static int nvme_submit_user_cmd(struct request_queue *q, struct nvme_command *cmd,
|
|
|
void __user *ubuffer, unsigned bufflen, u32 *result,
|
|
|
unsigned timeout)
|
|
|
{
|