aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMilan P. Gandhi2018-08-09 21:49:24 +0530
committerChristoph Hellwig2018-10-01 14:16:08 -0700
commit53b3a66163ea6cc7a86e0a3a04b1166d96665824 (patch)
tree9e0129312ae5d96f12700a3c40c56be7c6e06be0
parentc0aac682fa6590cb660cb083dbc09f55e799d2d2 (diff)
nvme: fix typo in nvme_identify_ns_descs
Signed-off-by: Milan P. Gandhi <mgandhi@redhat.com> Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> Signed-off-by: Christoph Hellwig <hch@lst.de>
-rw-r--r--drivers/nvme/host/core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/nvme/host/core.c b/drivers/nvme/host/core.c
index e0a9e1c5b30e..f0778d3dd2f8 100644
--- a/drivers/nvme/host/core.c
+++ b/drivers/nvme/host/core.c
@@ -971,7 +971,7 @@ static int nvme_identify_ns_descs(struct nvme_ctrl *ctrl, unsigned nsid,
uuid_copy(&ids->uuid, data + pos + sizeof(*cur));
break;
default:
- /* Skip unnkown types */
+ /* Skip unknown types */
len = cur->nidl;
break;
}