]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
efi/libstub: Correct comment typos
authorJoe Perches <joe@perches.com>
Thu, 30 Apr 2020 19:12:42 +0000 (12:12 -0700)
committerArd Biesheuvel <ardb@kernel.org>
Wed, 6 May 2020 09:27:55 +0000 (11:27 +0200)
Fix a couple typos in comments.

Signed-off-by: Joe Perches <joe@perches.com>
Link: https://lore.kernel.org/r/ec53e67b3ac928922807db3cb1585e911971dadc.1588273612.git.joe@perches.com
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/pci.c
drivers/firmware/efi/libstub/relocate.c

index 60af51bed57304858425efcdaec627b8f9937f47..99fb25d2bcf54ce8af04420d02486846b7566a1c 100644 (file)
@@ -69,7 +69,7 @@ void efi_pci_disable_bridge_busmaster(void)
                 * access to the framebuffer. Drivers for true PCIe graphics
                 * controllers that are behind a PCIe root port do not use
                 * DMA to implement the GOP framebuffer anyway [although they
-                * may use it in their implentation of Gop->Blt()], and so
+                * may use it in their implementation of Gop->Blt()], and so
                 * disabling DMA in the PCI bridge should not interfere with
                 * normal operation of the device.
                 */
index 93c04d6aaed106651730577ad648bc88a74e4c88..9b1aaf8b123f413ab53bad840e1a05cfd42a74d6 100644 (file)
@@ -140,7 +140,7 @@ efi_status_t efi_relocate_kernel(unsigned long *image_addr,
         * The EFI firmware loader could have placed the kernel image
         * anywhere in memory, but the kernel has restrictions on the
         * max physical address it can run at.  Some architectures
-        * also have a prefered address, so first try to relocate
+        * also have a preferred address, so first try to relocate
         * to the preferred address.  If that fails, allocate as low
         * as possible while respecting the required alignment.
         */