Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp593330iog; Mon, 13 Jun 2022 08:47:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxkygx1Em929j5N+bqTjT10Ird78u+lMU05r6NZfTCEgKDodCj/ocY/uyMJzo8b898hV7Nj X-Received: by 2002:aa7:ca59:0:b0:42d:c34e:5832 with SMTP id j25-20020aa7ca59000000b0042dc34e5832mr376936edt.75.1655135222060; Mon, 13 Jun 2022 08:47:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655135222; cv=none; d=google.com; s=arc-20160816; b=JahTXWOu6LpBDvOgS7Qg+qAstax7iQd/Dwql/tnMIQ2upstS0I585uJsblhisnxhXD hUhtH6zjqdttoUJeM08MIhLde4Zu4UK8/lgYy3vuf0spVZJfImoFmzVal7W+LIO+zO1W UhN/0uUSHHA14KcUCAMk0+qOBs51eB+SLnBde/9bGnpQIOIqMKX/6QwOxuXgLm6KccZg /2uaFz5ZsXdzT9giaF/cF8uqmrHZ9YgULFKZQH4N/pJrDDpsKBcwX/CFOzNnzIxzJA9v +AvR7pGpwAh0wDnVJgKp7y5LrBP5i+z4VgF1Ys6CUJkAi7pMePYsQ0U3X2TvcMo8pmg2 x3kg== 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=bA1cvs0+APJos/gtYsX7J35KL7KWLrgJYlJy5jSuhdQ=; b=rtIqba0mjB+coLCoQA7nEmzf3ue92DZ+W99UF4q1EloYHHjoEt/op48AabJEJ+akJE 0TPoGrH2YRhBFLKCsGsxllRpvH1ib2oWbV6AkumNud3bJcdGJKd1v9plFZiDWKLG1trY Hb02/b7Yz9gQgKVem93UyhD0/rpz9SRY+iUUAL625j7ydcUUQs638wVnw9wtXFC1W8CX icEagK2CUZvoorfifr+i7DbzC3rTfDCd+ZISggoiyrCFF4ehxOPs98CHPeo0JNWv5IAK YYIdWf1ElfFQvZmT8NGnsN78PsYwOIS74W7g4WHCiHMY/uUnfWr4q8/t7xHT8JoEJ1Yf e7gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=QcyA5DO1; 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 r9-20020aa7d589000000b0042dd47aecd0si7495379edq.444.2022.06.13.08.46.37; Mon, 13 Jun 2022 08:47:02 -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=QcyA5DO1; 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 S1352171AbiFMLLA (ORCPT + 99 others); Mon, 13 Jun 2022 07:11:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1350932AbiFMLFl (ORCPT ); Mon, 13 Jun 2022 07:05:41 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 656A410FD; Mon, 13 Jun 2022 03:34:57 -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 C4143B80EAA; Mon, 13 Jun 2022 10:34:55 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 35490C34114; Mon, 13 Jun 2022 10:34:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1655116494; bh=liqDYnBITC4aho+0gENp/8bVnL2kel+KNoF6yUOwYMA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QcyA5DO187glUxep5+W6MjP7IzpcWM5xxPiBYbHAGucU0/3HCEShMEeGC1eXCFi0r EF27Qu/TLciZO5hkmEJNZTWHdA3S3NAKqF+fuzhI/ZuVyU6HKSaLoFxcTNTnNnu6aS LsXaaa1EScnFQmPybSn9pABCJTwvZr0MJFNC3cPI= 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.4 096/411] efi: Add missing prototype for efi_capsule_setup_info Date: Mon, 13 Jun 2022 12:06:09 +0200 Message-Id: <20220613094931.560133489@linuxfoundation.org> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220613094928.482772422@linuxfoundation.org> References: <20220613094928.482772422@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 c82ef0eba4f8..f9b9f9a2fd4a 100644 --- a/include/linux/efi.h +++ b/include/linux/efi.h @@ -165,6 +165,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