lkml.org 
[lkml]   [2022]   [Jun]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.18 312/879] efi: Add missing prototype for efi_capsule_setup_info
    Date
    From: Jan Kiszka <jan.kiszka@siemens.com>

    [ Upstream commit aa480379d8bdb33920d68acfd90f823c8af32578 ]

    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@siemens.com>
    Link: https://lore.kernel.org/r/c28d3f86-dd72-27d1-e2c2-40971b8da6bd@siemens.com
    Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    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.35.1


    \
     
     \ /
      Last update: 2022-06-08 00:37    [W:2.542 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site