aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme/target/admin-cmd.c
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2017-11-07 07:10:22 -0500
committerJens Axboe <axboe@kernel.dk>2017-11-10 21:53:25 -0500
commit18c53e40487f56369c3ba9331ec3597d9b48d97c (patch)
tree66ffb8f8b98dc2d3d557e0ebaf2ed08c153c770a /drivers/nvme/target/admin-cmd.c
parent1f61def985d896da5935ae85a69c79fc26c7952f (diff)
nvmet: fix comment typos in admin-cmd.c
small typos fixed in admin-cmd.c Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/nvme/target/admin-cmd.c')
-rw-r--r--drivers/nvme/target/admin-cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/target/admin-cmd.c b/drivers/nvme/target/admin-cmd.c
index c4a0bf36e752..9a7d6917e190 100644
--- a/drivers/nvme/target/admin-cmd.c
+++ b/drivers/nvme/target/admin-cmd.c
@@ -300,7 +300,7 @@ static void nvmet_execute_identify_ns(struct nvmet_req *req)
300 } 300 }
301 301
302 /* 302 /*
303 * nuse = ncap = nsze isn't aways true, but we have no way to find 303 * nuse = ncap = nsze isn't always true, but we have no way to find
304 * that out from the underlying device. 304 * that out from the underlying device.
305 */ 305 */
306 id->ncap = id->nuse = id->nsze = 306 id->ncap = id->nuse = id->nsze =
@@ -424,7 +424,7 @@ out:
424} 424}
425 425
426/* 426/*
427 * A "mimimum viable" abort implementation: the command is mandatory in the 427 * A "minimum viable" abort implementation: the command is mandatory in the
428 * spec, but we are not required to do any useful work. We couldn't really 428 * spec, but we are not required to do any useful work. We couldn't really
429 * do a useful abort, so don't bother even with waiting for the command 429 * do a useful abort, so don't bother even with waiting for the command
430 * to be exectuted and return immediately telling the command to abort 430 * to be exectuted and return immediately telling the command to abort