diff mbox series

[-next] efi: memmap: Remove kernel-doc warnings

Message ID 20230731112001.212982-1-wangzhu9@huawei.com
State Accepted
Commit 92faa821bb160e0282ea936fe664cf5f0ead86df
Headers show
Series [-next] efi: memmap: Remove kernel-doc warnings | expand

Commit Message

Zhu Wang July 31, 2023, 11:20 a.m. UTC
Remove kernel-doc warnings:

arch/x86/platform/efi/memmap.c:94: warning: Function parameter or member
'data' not described in 'efi_memmap_install'
arch/x86/platform/efi/memmap.c:94: warning: Excess function parameter
'ctx' description in 'efi_memmap_install'

Signed-off-by: Zhu Wang <wangzhu9@huawei.com>
---
 arch/x86/platform/efi/memmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ard Biesheuvel Aug. 3, 2023, 1:42 p.m. UTC | #1
On Mon, 31 Jul 2023 at 13:20, Zhu Wang <wangzhu9@huawei.com> wrote:
>
> Remove kernel-doc warnings:
>
> arch/x86/platform/efi/memmap.c:94: warning: Function parameter or member
> 'data' not described in 'efi_memmap_install'
> arch/x86/platform/efi/memmap.c:94: warning: Excess function parameter
> 'ctx' description in 'efi_memmap_install'
>
> Signed-off-by: Zhu Wang <wangzhu9@huawei.com>

Queued up in efi/next - thanks,

> ---
>  arch/x86/platform/efi/memmap.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/arch/x86/platform/efi/memmap.c b/arch/x86/platform/efi/memmap.c
> index c69f8471e6d0..4ef20b49eb5e 100644
> --- a/arch/x86/platform/efi/memmap.c
> +++ b/arch/x86/platform/efi/memmap.c
> @@ -82,7 +82,7 @@ int __init efi_memmap_alloc(unsigned int num_entries,
>
>  /**
>   * efi_memmap_install - Install a new EFI memory map in efi.memmap
> - * @ctx: map allocation parameters (address, size, flags)
> + * @data: efi memmap installation parameters
>   *
>   * Unlike efi_memmap_init_*(), this function does not allow the caller
>   * to switch from early to late mappings. It simply uses the existing
> --
> 2.17.1
>
diff mbox series

Patch

diff --git a/arch/x86/platform/efi/memmap.c b/arch/x86/platform/efi/memmap.c
index c69f8471e6d0..4ef20b49eb5e 100644
--- a/arch/x86/platform/efi/memmap.c
+++ b/arch/x86/platform/efi/memmap.c
@@ -82,7 +82,7 @@  int __init efi_memmap_alloc(unsigned int num_entries,
 
 /**
  * efi_memmap_install - Install a new EFI memory map in efi.memmap
- * @ctx: map allocation parameters (address, size, flags)
+ * @data: efi memmap installation parameters
  *
  * Unlike efi_memmap_init_*(), this function does not allow the caller
  * to switch from early to late mappings. It simply uses the existing