diff options
Diffstat (limited to 'drivers/block')
-rw-r--r-- | drivers/block/nvme.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/block/nvme.c b/drivers/block/nvme.c index 9e3c724b95c3..0956e1241520 100644 --- a/drivers/block/nvme.c +++ b/drivers/block/nvme.c | |||
@@ -1054,6 +1054,7 @@ static int nvme_submit_io(struct nvme_ns *ns, struct nvme_user_io __user *uio) | |||
1054 | case nvme_cmd_compare: | 1054 | case nvme_cmd_compare: |
1055 | nents = nvme_map_user_pages(dev, io.opcode & 1, io.addr, | 1055 | nents = nvme_map_user_pages(dev, io.opcode & 1, io.addr, |
1056 | length, &sg); | 1056 | length, &sg); |
1057 | break; | ||
1057 | default: | 1058 | default: |
1058 | return -EINVAL; | 1059 | return -EINVAL; |
1059 | } | 1060 | } |