Re: [PATCH] efi: Delete deprecated parameter comments

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 24 Sep 2020 at 04:22, Tian Tao <tiantao6@xxxxxxxxxxxxx> wrote:
>
> Delete deprecated parameter comments to  fix warnings reported by make
> W=1.
> drivers/firmware/efi/vars.c:428: warning: Excess function parameter
> 'atomic' description in 'efivar_init'
>
> Signed-off-by: Tian Tao <tiantao6@xxxxxxxxxxxxx>

Applied as a fix, thanks.

> ---
>  drivers/firmware/efi/vars.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/firmware/efi/vars.c b/drivers/firmware/efi/vars.c
> index 973eef2..274b0ee 100644
> --- a/drivers/firmware/efi/vars.c
> +++ b/drivers/firmware/efi/vars.c
> @@ -414,7 +414,6 @@ static void dup_variable_bug(efi_char16_t *str16, efi_guid_t *vendor_guid,
>   * efivar_init - build the initial list of EFI variables
>   * @func: callback function to invoke for every variable
>   * @data: function-specific data to pass to @func
> - * @atomic: do we need to execute the @func-loop atomically?
>   * @duplicates: error if we encounter duplicates on @head?
>   * @head: initialised head of variable list
>   *
> --
> 2.7.4
>



[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux