Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2164176iof; Tue, 7 Jun 2022 21:53:40 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyU/e6v2MwugALUDo6vlYa/sR+Z1S4/z5g1fsKOSMYyUyFBqhc8ysfSLSbuVgTi5zhxenpF X-Received: by 2002:a17:90b:3b4b:b0:1e8:434c:5ab1 with SMTP id ot11-20020a17090b3b4b00b001e8434c5ab1mr25983439pjb.129.1654664020519; Tue, 07 Jun 2022 21:53:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664020; cv=none; d=google.com; s=arc-20160816; b=XfSfhKoaIr66xhpnksBEEWlxa5qNvFvCRldGzYpb0UGUNOMBECQyz6CKOcOLhcgRGn +Vg5tEh3oZNz6ZXT8nMoHYJaUkPzKv2r6N8yJiny/+gW7VHVBPQ4viTF72yUUS1FWOzq xmyvyY2yqdfLza7Rv41mWZePItoDeBQHcKPlS4JiieSAfJov1rVLf4RN7hxZJe0mywlE V2LZ06qFev/9gnBiXqpQq7gQqoQqgHhEzdZMY6Ej8FlFkkQggstbDBz/q8lKq1MjxLQ1 33s7eY/fHl8O44DWjI2GTL1KFN/rmtMMGo9vhZVPQy2vAyZzG3uGIZP/FBlyNRF77eSw BFkA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=garoUseo351Wec3NJ0HTVHDeS76Nyh113o/GMUL8kbQ=; b=wsl/LiIInA8xNJC16mfxNVRZXAlF+u8jBwcNtlNjSfvCBwYQhQM5I2sUI3ciDBg97I EBqmcsZWSHl6mD1pU9MgayFqAF7QSQOesft6f4S6d0hfQEv/zSv+RtmBvZ9GTxgfxCWv 6GE/+EOSu1KkhaNd0T3zGLxdjRfJ8jfH6d40pzlBVUQmrFfvLsfKruHSmUKx4Tmj8nvm EsTky9QZrxxWdj64IfiYB0Tfj05TaYQzDhzPQVpgXaUJ3uaAyw3dCF6uxhK2W62RcDfs xYeCV2nnGt9iV2aoXl5Oz+Jb3Id4itzELgoTbmps63xTdSKD7KmDtmHv92nqlVSzpKLq MrAQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r7Z246+o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id p4-20020a17090ad30400b001e30a3a5f49si23832803pju.121.2022.06.07.21.53.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:53:40 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=r7Z246+o; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id E7E322218A2; Tue, 7 Jun 2022 21:23:05 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1381901AbiFGWeu (ORCPT + 99 others); Tue, 7 Jun 2022 18:34:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378387AbiFGVXC (ORCPT ); Tue, 7 Jun 2022 17:23:02 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67D9B22589A; Tue, 7 Jun 2022 12:00:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id DF980B8239D; Tue, 7 Jun 2022 18:59:54 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 51C77C385A5; Tue, 7 Jun 2022 18:59:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654628393; bh=LLYvGfGjXZ9QmB2lx9GE2qO8i4mMoaFQ3OO4wiSra9k=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=r7Z246+oxwdjY8C3DQoQ8T2GTJvgNT2GhKmC1UCJa8NHDdvUQzQ5lDOezJvXsOVv4 OjQBy5E5Bbir4odW17u1MotVQwtEyA4TZFWLH8w0oe8rE7vnuS2FDSUTuhA+u9KVLx Pqoxa8W4NKRnDKliEHsQKu2LZej5w9+bxQgVJJUY= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jan Kiszka , Ard Biesheuvel , Sasha Levin Subject: [PATCH 5.18 312/879] efi: Add missing prototype for efi_capsule_setup_info Date: Tue, 7 Jun 2022 18:57:10 +0200 Message-Id: <20220607165011.902869704@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607165002.659942637@linuxfoundation.org> References: <20220607165002.659942637@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jan Kiszka [ 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 Link: https://lore.kernel.org/r/c28d3f86-dd72-27d1-e2c2-40971b8da6bd@siemens.com Signed-off-by: Ard Biesheuvel Signed-off-by: Sasha Levin --- 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