aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/nvme
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2018-01-14 16:14:27 +0900
committerChristoph Hellwig <hch@lst.de>2018-01-15 17:09:30 +0100
commit8adb8c147b2f6383a1676325c27e3dbc29d2fba7 (patch)
tree5e6968e194c29860a878a8f7d1ddea8cbc300999 /drivers/nvme
parentnvme: host delete_work and reset_work on separate workqueues (diff)
downloadlinux-dev-8adb8c147b2f6383a1676325c27e3dbc29d2fba7.tar.xz
linux-dev-8adb8c147b2f6383a1676325c27e3dbc29d2fba7.zip
nvme: fix comment typos in nvme_create_io_queues
fix comment typos in nvme_create_io_queues() like below. _aount_ to _amount_ _an_ to _can_ Signed-off-by: Minwoo Im <minwoo.im.dev@gmail.com> Reviewed-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme')
-rw-r--r--drivers/nvme/host/pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/nvme/host/pci.c b/drivers/nvme/host/pci.c
index b058b1e9b5bb..13057aee84e6 100644
--- a/drivers/nvme/host/pci.c
+++ b/drivers/nvme/host/pci.c
@@ -1633,8 +1633,8 @@ static int nvme_create_io_queues(struct nvme_dev *dev)
/*
* Ignore failing Create SQ/CQ commands, we can continue with less
- * than the desired aount of queues, and even a controller without
- * I/O queues an still be used to issue admin commands. This might
+ * than the desired amount of queues, and even a controller without
+ * I/O queues can still be used to issue admin commands. This might
* be useful to upgrade a buggy firmware for example.
*/
return ret >= 0 ? 0 : ret;