Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp443184iog; Mon, 13 Jun 2022 06:06:30 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxx+e1fOv6qoFc+xS4YQnz96cOH8XYvCdHGIGE9BZvBHN0txH6SO0GP9O773k5iq8yKPDhb X-Received: by 2002:a17:906:5344:b0:711:f8fa:f16a with SMTP id j4-20020a170906534400b00711f8faf16amr23061061ejo.638.1655125590602; Mon, 13 Jun 2022 06:06:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655125590; cv=none; d=google.com; s=arc-20160816; b=t0kwT1INZvM/AyiR+G8duOU3a3oOXUcnKWIqSrCHywLF8sClaBRVUh8h9Z+5LYu/mT I0AIsTSb5aYoDIWY0QMC19lz5iVMHlr3UzwkLrPExSuB3hi8RNzeNsZUULPBWTvkTWKu cmSqdi8LIVIgCyNSX/79AzpzUxD3kcSjhre32da/LF46K8Pd5wEC7ge7YnBZSPRbZ6q3 6MRaCYbsXkhDAPLgAd3EsGOX6iG2Y5qlYiWFSXE9L+9TU9/014TWeQHF01z+VjTYON5S RP8J/nzyZXxgj7gqJRwIsQZ70t4PKmRObBGlAqpbIo/Bt/3ZDFEUxrrKVjAc9dM57Y/0 uyfw== 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=j2IaFhHdXohF2x498wvvgZezX7ebKbjBH2XUZ8zPlD8=; b=OML3t1rYrB5Dojxu3xI+zoxrS9J+cgxKxBkA9q5mF+870CzuXVnTZUX0HugDIknHLc Wc54cy/hPz9lpQPsrc3YuR1/WSaAO7E1BbtxW50UCf8ZELiZvYjEJQW/CCzi7lEtnjzs Xr5wEBfss2JzWZpNOuCJNPiDB1wymUK1GqmzOas+uT0FMJNpyZOne3ODgICqMmx4piHi EUeEtj9B3yWLnolIdSREcXfr95iq2LJFpL346pgaxgWfJjuDHEdvoxn5JI8yEV1gaf/T y5gbJB+ZR2EQzjAsyD+8pos7z0/OY2VSgGv994SRHA3pjOTojA02y6DNKZVFswTY0/5L rLUg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aAoY5p5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bd1-20020a056402206100b0042b370f9819si6651566edb.552.2022.06.13.06.05.54; Mon, 13 Jun 2022 06:06:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=aAoY5p5g; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243425AbiFMKpY (ORCPT + 99 others); Mon, 13 Jun 2022 06:45:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243693AbiFMKmq (ORCPT ); Mon, 13 Jun 2022 06:42:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 432A72A274; Mon, 13 Jun 2022 03:24:11 -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 dfw.source.kernel.org (Postfix) with ESMTPS id D46C460B8E; Mon, 13 Jun 2022 10:24:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id EB51EC34114; Mon, 13 Jun 2022 10:24:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655115850; bh=fR2/yGsL4ktPeCCj6RfVbw9bcbv/lvfZDuvLCnhZLs0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aAoY5p5gvD4CGGi9QfLFZpsY8iRi3lKUmBXsBOS2G2CbbRu8dqfxLwZb2WQMh1cZ5 A8G1CgI3zB5Vw7+AJJ5PStcqHT7o9BII8aNm1eIlNLeL9TgTndrTzEFnJoVAojnAM6 VRBdz9Ius0JZyreEqhu6eSXVbUWhEb/Sm9NKS69Q= 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 4.14 055/218] efi: Add missing prototype for efi_capsule_setup_info Date: Mon, 13 Jun 2022 12:08:33 +0200 Message-Id: <20220613094921.051940380@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094908.257446132@linuxfoundation.org> References: <20220613094908.257446132@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=-8.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 598ee6ba5b18..2c63afd68978 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -150,6 +150,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