projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba832f6
)
efi/libstub: Fix error message in handle_cmdline_files()
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Fri, 21 Feb 2020 19:18:29 +0000
(20:18 +0100)
committer
Ard Biesheuvel
<ardb@kernel.org>
Sun, 23 Feb 2020 20:57:31 +0000
(21:57 +0100)
The memory for files is allocated not reallocated.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Link:
https://lore.kernel.org/r/20200221191829.18149-1-xypron.glpk@gmx.de
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
drivers/firmware/efi/libstub/file.c
patch
|
blob
|
history
diff --git
a/drivers/firmware/efi/libstub/file.c
b/drivers/firmware/efi/libstub/file.c
index
be78f64
..
d4c7e5f
100644
(file)
--- a/
drivers/firmware/efi/libstub/file.c
+++ b/
drivers/firmware/efi/libstub/file.c
@@
-190,7
+190,7
@@
static efi_status_t handle_cmdline_files(efi_loaded_image_t *image,
&alloc_addr,
hard_limit);
if (status != EFI_SUCCESS) {
- pr_efi_err("Failed to
re
allocate memory for files\n");
+ pr_efi_err("Failed to allocate memory for files\n");
goto err_close_file;
}