Skip to content

Commit 947228c

Browse files
atishp04ardbiesheuvel
authored andcommitted
efi/libstub: Fix the efi_load_initrd function description
The soft_limit and hard_limit in the function efi_load_initrd describes the preferred and max address of initrd loading location respectively. However, the description wrongly describes it as the size of the allocated memory. Fix the function description. Signed-off-by: Atish Patra <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
1 parent 2bab693 commit 947228c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/firmware/efi/libstub/efi-stub-helper.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -630,8 +630,8 @@ efi_status_t efi_load_initrd_cmdline(efi_loaded_image_t *image,
630630
* @image: EFI loaded image protocol
631631
* @load_addr: pointer to loaded initrd
632632
* @load_size: size of loaded initrd
633-
* @soft_limit: preferred size of allocated memory for loading the initrd
634-
* @hard_limit: minimum size of allocated memory
633+
* @soft_limit: preferred address for loading the initrd
634+
* @hard_limit: upper limit address for loading the initrd
635635
*
636636
* Return: status code
637637
*/

0 commit comments

Comments
 (0)