Re: [PATCH] efi: Add missing prototype for efi_capsule_setup_info

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

 



On Fri, 4 Mar 2022 at 07:36, Jan Kiszka <jan.kiszka@xxxxxxxxxxx> wrote:
>
> From: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>
>
> Fixes "no previous declaration for 'efi_capsule_setup_info'" warnings
> under W=1.
>
> Fixes: 2959c95d510c ("efi/capsule: Add support for Quark security header")
> Signed-off-by: Jan Kiszka <jan.kiszka@xxxxxxxxxxx>

Thanks Jan, I've queued this up now.

> ---
>  include/linux/efi.h | 2 ++
>  1 file changed, 2 insertions(+)
>
> diff --git a/include/linux/efi.h b/include/linux/efi.h
> index ccd4d3f91c98..cc6d2be2ffd5 100644
> --- a/include/linux/efi.h
> +++ b/include/linux/efi.h
> @@ -213,6 +213,8 @@ struct capsule_info {
>         size_t                  page_bytes_remain;
>  };
>
> +int efi_capsule_setup_info(struct capsule_info *cap_info, void *kbuff,
> +                           size_t hdr_bytes);
>  int __efi_capsule_setup_info(struct capsule_info *cap_info);
>
>  /*
> --
> 2.34.1



[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