diff options
| author | Thorsten Blum <blum@kernel.org> | 2026-08-30 12:29:10 +0200 |
|---|---|---|
| committer | Ard Biesheuvel <ardb@kernel.org> | 2026-09-10 09:46:08 +0200 |
| commit | bb6cbbb42c3a4b1d949dbe0efdd5f7c952a9d7b0 (patch) | |
| tree | 0234ea5e504225430b209745624bf5f8eed6c192 | |
| parent | d6c852af44d7df4ecf3b30ba082ca8a52bc9645a (diff) | |
| download | linux-next-bb6cbbb42c3a4b1d949dbe0efdd5f7c952a9d7b0.tar.gz linux-next-bb6cbbb42c3a4b1d949dbe0efdd5f7c952a9d7b0.zip | |
efi/libstub: Fix grammar in efi_kaslr_relocate_kernel() comment
Fix the grammar in the kernel-doc comment and indent the @image_addr
description correctly.
Signed-off-by: Thorsten Blum <blum@kernel.org>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
| -rw-r--r-- | drivers/firmware/efi/libstub/kaslr.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/firmware/efi/libstub/kaslr.c b/drivers/firmware/efi/libstub/kaslr.c index b73b6d752f43..8f8dc335b3b3 100644 --- a/drivers/firmware/efi/libstub/kaslr.c +++ b/drivers/firmware/efi/libstub/kaslr.c @@ -82,7 +82,7 @@ static bool check_image_region(u64 base, u64 size) /** * efi_kaslr_relocate_kernel() - Relocate the kernel (random if KASLR enabled) - * @image_addr: Pointer to the current kernel location + * @image_addr: Pointer to the current kernel location * @reserve_addr: Pointer to the relocated kernel location * @reserve_size: Size of the relocated kernel * @kernel_size: Size of the text + data @@ -91,8 +91,8 @@ static bool check_image_region(u64 base, u64 size) * @phys_seed: Random seed used for the relocation * * If KASLR is not enabled, this function relocates the kernel to a fixed - * address (or leave it as its current location). If KASLR is enabled, the - * kernel physical location is randomized using the seed in parameter. + * address or leaves it at its current location. If KASLR is enabled, the + * kernel's physical location is randomized using the supplied seed. * * Return: status code, EFI_SUCCESS if relocation is successful */ |
