nvme: fix comment typos in nvme_create_io_queues
authorMinwoo Im <minwoo.im.dev@gmail.com>
Sun, 14 Jan 2018 07:14:27 +0000 (16:14 +0900)
committerChristoph Hellwig <hch@lst.de>
Mon, 15 Jan 2018 16:09:30 +0000 (17:09 +0100)
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>
drivers/nvme/host/pci.c

index b058b1e9b5bb981b345809b437827c08997d7b86..13057aee84e6807fbed56d18d22b1e19e416b3c0 100644 (file)
@@ -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;