Skip to content

Commit

Permalink
efi: libstub: fix efi_load_initrd_dev_path() kernel-doc comment
Browse files Browse the repository at this point in the history
commit f4dc7ff ("efi: libstub: unify initrd loading between
architectures") merge the first and the second parameters into a
struct without updating the kernel-doc. Let's fix it.

Signed-off-by: Jialin Zhang <zhangjialin11@huawei.com>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
  • Loading branch information
Jialin Zhang authored and Ard Biesheuvel committed Nov 18, 2022
1 parent 1fff234 commit d981a88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/firmware/efi/libstub/efi-stub-helper.c
Original file line number Diff line number Diff line change
Expand Up @@ -483,8 +483,8 @@ static const struct {

/**
* efi_load_initrd_dev_path() - load the initrd from the Linux initrd device path
* @load_addr: pointer to store the address where the initrd was loaded
* @load_size: pointer to store the size of the loaded initrd
* @initrd: pointer of struct to store the address where the initrd was loaded
* and the size of the loaded initrd
* @max: upper limit for the initrd memory allocation
*
* Return:
Expand Down

0 comments on commit d981a88

Please sign in to comment.