summaryrefslogtreecommitdiff
path: root/drivers/nvme/host
diff options
context:
space:
mode:
authorMinwoo Im <minwoo.im.dev@gmail.com>2018-01-14 10:14:27 +0300
committerChristoph Hellwig <hch@lst.de>2018-01-15 19:09:30 +0300
commit8adb8c147b2f6383a1676325c27e3dbc29d2fba7 (patch)
tree5e6968e194c29860a878a8f7d1ddea8cbc300999 /drivers/nvme/host
parentb227c59b9b5b8ae52639c8980af853d2f654f90a (diff)
downloadlinux-8adb8c147b2f6383a1676325c27e3dbc29d2fba7.tar.xz
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/host')
-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;