summaryrefslogtreecommitdiff
path: root/drivers/firmware/efi/libstub/relocate.c
diff options
context:
space:
mode:
authorJoe Perches <joe@perches.com>2020-04-30 22:12:42 +0300
committerArd Biesheuvel <ardb@kernel.org>2020-05-06 12:27:55 +0300
commit4026229934f6ca0cb44af7b9df00e647b2f1f787 (patch)
tree29aaade93c69a9bdde29ac0adfd66de102db4fe0 /drivers/firmware/efi/libstub/relocate.c
parent0b8d9fc9953fde4ea3eb3191d986ca2d01eb783c (diff)
downloadlinux-4026229934f6ca0cb44af7b9df00e647b2f1f787.tar.xz
efi/libstub: Correct comment typos
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>
Diffstat (limited to 'drivers/firmware/efi/libstub/relocate.c')
-rw-r--r--drivers/firmware/efi/libstub/relocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/firmware/efi/libstub/relocate.c b/drivers/firmware/efi/libstub/relocate.c
index 93c04d6aaed1..9b1aaf8b123f 100644
--- a/drivers/firmware/efi/libstub/relocate.c
+++ b/drivers/firmware/efi/libstub/relocate.c
@@ -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.
*/