Received: by 2002:a5d:9c59:0:0:0:0:0 with SMTP id 25csp2164359iof; Tue, 7 Jun 2022 21:54:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwK6V9htHPTIl0pXiHuH8977SFfIrXlXoG23iaSzlLBHUpp9JO2XjLtc6SBzLN/G38it8s7 X-Received: by 2002:a05:6a00:2408:b0:4f7:a8cb:9b63 with SMTP id z8-20020a056a00240800b004f7a8cb9b63mr33146950pfh.33.1654664043423; Tue, 07 Jun 2022 21:54:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1654664043; cv=none; d=google.com; s=arc-20160816; b=IuBBDO28Ecw3r6rJtun8EHnibyJ0oBDR6uneYYk0z9hwEjsfpgy1Uf44EgE6kNK6O5 dqd0yLiH/RWNjpNBBDDlNAfHrERHhWKKRkjpkLrlasMX4hyaI44YLpm/Mnt7qdSedSlf PTr8leEMTmLynM/NFbNn2j3df+cE8T8LikewJhUJGpPiLsvhe27LNIbjIeMmtbWsBnRu 7smKUeiC22TlJFMYTd60syNDrxl5/X5Jn0QXr6vIYqsp2h/e+kog4iAiKYH/iyIHUfT5 S0MWeV3qbPD+tGEipnAbWEJm+8N915M3pYZXbJnA5+9FG3tyC5kUz5MUWmriHPCRkTGH u19g== 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=/bugYmh6iDueDPVdvxKev2YEadJXKfaMbq4aiAwqUrI=; b=mva4wakugqiYKegoRE+CelU9go47DL7Nv2pS2xVamXZxn9fhlFZVCBtGLQ+LqSSkuh AVMtYyzZx6EgyUH5BuapzuUUMuu6UrUAb+Wa8lUWqhRgygusq/cSum3UiM7vPRXklHS5 lnz4/LPMBa88ssYxP5dBeKIiI2kRqeOKLHmKgEdGwPWh1vc41H2pFAJbK89x6aw6D0C1 2RZFwXvSuFbHXMJApfqq/yer8d/Szs3OxiEC+1LlqRYcuxpxLNe67VLZlGQyQf90ugRA kqUaHe18GUaY4eWQv0mNCuH9XnoCek8xX6RnPhnbShzUrGqqlZJf2K7L3/F9abiJH86T 2IpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b="BRwQOEL/"; 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 g9-20020a635649000000b003fd26025e4esi19141810pgm.297.2022.06.07.21.54.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Jun 2022 21:54:03 -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="BRwQOEL/"; 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 1CBA7458AE8; Tue, 7 Jun 2022 21:23:18 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348182AbiFGRgH (ORCPT + 99 others); Tue, 7 Jun 2022 13:36:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45092 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346817AbiFGR3R (ORCPT ); Tue, 7 Jun 2022 13:29:17 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5068811766F; Tue, 7 Jun 2022 10:24:39 -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 D20B660DE0; Tue, 7 Jun 2022 17:24:38 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E0EF7C36AFE; Tue, 7 Jun 2022 17:24:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1654622678; bh=QmMY1WF8DIykV1Y9DmMwnVkZaeSg56Oo/WUN8GgpU4E=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BRwQOEL/RWa237D22XRGsINkyhMg4vAfxQMctA3nBvV/XmZoQgsguevpsR+HpIE5U 8PU0ETcbvNYW6bjrXdRJ3gCSMFVtBJdgJEDmeaHcm5UYE6EZoBbVJwMlaPw0nfQA+M fTm+hBq8eorGdz04THpsDeMRrnjAgN73KzW/FbHk= 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.10 144/452] efi: Add missing prototype for efi_capsule_setup_info Date: Tue, 7 Jun 2022 19:00:01 +0200 Message-Id: <20220607164912.851846901@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220607164908.521895282@linuxfoundation.org> References: <20220607164908.521895282@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 e17cd4c44f93..3bac68fb7ff1 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -167,6 +167,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); typedef int (*efi_freemem_callback_t) (u64 start, u64 end, void *arg); -- 2.35.1