]> git.baikalelectronics.ru Git - kernel.git/commitdiff
drivers: fpga: fix two trivial spelling mistakes
authorColin Ian King <colin.king@canonical.com>
Thu, 16 Aug 2018 19:42:14 +0000 (14:42 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 12 Sep 2018 07:43:53 +0000 (09:43 +0200)
Trivial fix to two spelling mistakes
"execeeded" -> "exceeded"
"Invaild" -> "Invalid"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Alan Tull <atull@kernel.org>
Acked-by: Moritz Fischer <mdf@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/fpga/dfl-afu-dma-region.c
drivers/fpga/dfl-fme-mgr.c

index 0e81d33af856a6f51751762bd84fd61baebdf162..025aba3ea76c044591590aab3525f9fdaad85008 100644 (file)
@@ -70,7 +70,7 @@ static int afu_dma_adjust_locked_vm(struct device *dev, long npages, bool incr)
        dev_dbg(dev, "[%d] RLIMIT_MEMLOCK %c%ld %ld/%ld%s\n", current->pid,
                incr ? '+' : '-', npages << PAGE_SHIFT,
                current->mm->locked_vm << PAGE_SHIFT, rlimit(RLIMIT_MEMLOCK),
-               ret ? "- execeeded" : "");
+               ret ? "- exceeded" : "");
 
        up_write(&current->mm->mmap_sem);
 
index b5ef405b6d88da032eaad5688cbf4298bb9f0a5c..9f045d058cfd372755386232407de6f2ea7de76c 100644 (file)
@@ -201,7 +201,7 @@ static int fme_mgr_write(struct fpga_manager *mgr,
                }
 
                if (count < 4) {
-                       dev_err(dev, "Invaild PR bitstream size\n");
+                       dev_err(dev, "Invalid PR bitstream size\n");
                        return -EINVAL;
                }