Received: by 2002:a05:6a10:6d10:0:0:0:0 with SMTP id gq16csp1173898pxb; Wed, 13 Apr 2022 23:22:43 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwYTPHy8PuLNO+hFdu8IHgfvULrtNXCULB7wbNfQC7qcbG+cC/a9Xeq12Ic3kvKn0+/03vw X-Received: by 2002:a17:90a:9301:b0:1cb:7363:d76d with SMTP id p1-20020a17090a930100b001cb7363d76dmr2715607pjo.99.1649917362736; Wed, 13 Apr 2022 23:22:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649917362; cv=none; d=google.com; s=arc-20160816; b=aUuzNQsQ284D9yaRphnqL2GyZI4pqDTmJMlzlBObICn6VUoHJZbG6ZVv3jf4vpSayf j/YZsw5JY4CmonP6iIKoXMnIiIIH5AydZcEGrVjT5oCKnVZQFqig8YE7lcRXeTroDVu0 ubemurHQHzQGvaOxGUQ113zBFy1R+e5xCeemIpnEsL8CeLO72JkPP1EmIfKH1rL5+Xli ZMhiu1EcUjL8EgHXPSVx4n50FqtxuQkZlcSdvKG6kxKpXXO7grC1m6hGJzZuthNapmzP MA9aTZdfwhGKVEbxNXK4LXj8KVG4EgcXqoGKyAON/YOy8zDU/lExl153XpzSlyLXF+kI Q6cQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=idPAdjCOvCOGJ47lSeoxsdkqnUaKhL5iE3X59y+bftg=; b=GKBWaCwUSa8OhJNuGpRY4lcl6vNeXwU2Zyuqkenb2zpDT3lxhX7EFnfa2g8QYEjloo BPIObFmRCS4YySxbP3DCUhBEXBIoQdbujWrXclKR0krXO5mT0qWM2wA4shwqFCJxVz+O TJhUHPZa+jRqJXhQl0Xi7ykEu2hJnC51FEdKfk71qyDM/gVaT8q/SNHhYtEdi9TrFUQq piKD3994Cov7gDSrVK4CBlGsVNbp7u14NJekGBhE4lBS4dat2JDFOVy2Rao1NQ2ZoNMg 5oTEo9EtoMGOtlQA1vlr5xf/4WpzrKEjUuaqA3n6TDCt5TuOVnEQeJPGAkIvU1YnkLyG 0hqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Kf18OhEC; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ca23-20020a056a00419700b00505c7090037si9346793pfb.244.2022.04.13.23.22.29; Wed, 13 Apr 2022 23:22:42 -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=@kernel.org header.s=k20201202 header.b=Kf18OhEC; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235743AbiDMRWp (ORCPT + 99 others); Wed, 13 Apr 2022 13:22:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237322AbiDMRWm (ORCPT ); Wed, 13 Apr 2022 13:22:42 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BD3752E6C; Wed, 13 Apr 2022 10:20:21 -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 EA1A461E9C; Wed, 13 Apr 2022 17:20:20 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 50A9CC385A8; Wed, 13 Apr 2022 17:20:20 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649870420; bh=cd1OS579F8P5cfiY9Bbwx5RCM4PGh4h+DqwC6PuVcR4=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=Kf18OhECYLGZH8wbde+UHfoN5fbuDIlSLuNazbIh+Nal+k/f20tXp8K0mWpk19ItQ 6rmJguL3geTZ3HeNft4CdzXgu7YHwYI0ZIMS27Nto7/p4wBPbgXo+GqcHqUq+pVnBa FmuwIcglmddoVtp2R6PYF4SPfMzfsKXhSHE/PbYngrdNzlau/yEuH05Hwk6Qo3oEgr pK0IWUJqdC15h6Yoop5dsaREVG6HYlf5cFLljUap0aiMAqxSS767wA6y0HRIXQ9U6e luy4ZgPk/y7wgWnwFPH/BEgApc7GHuQESZolqvtmGw9JD39EHqWq3p+TUFr68hg6xX n+2BN7WAME4+Q== Received: by mail-oo1-f52.google.com with SMTP id w20-20020a4ae9f4000000b003243aa2c71aso463765ooc.0; Wed, 13 Apr 2022 10:20:20 -0700 (PDT) X-Gm-Message-State: AOAM530slrhd1C6xxNfX0pNPAa1qNMP13hewtd1wHcCGqEcP8cPTSzoV 94CyDVmvJ6l+p841gaO1qjqZSZ7BIByxihper6E= X-Received: by 2002:a4a:95f3:0:b0:331:3e74:ed5d with SMTP id p48-20020a4a95f3000000b003313e74ed5dmr1604304ooi.60.1649870419423; Wed, 13 Apr 2022 10:20:19 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Ard Biesheuvel Date: Wed, 13 Apr 2022 19:20:08 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] efi: Add missing prototype for efi_capsule_setup_info To: Jan Kiszka Cc: linux-efi , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-7.1 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 On Fri, 4 Mar 2022 at 07:36, Jan Kiszka wrote: > > From: Jan Kiszka > > 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 Thanks Jan, I've queued this up now. > --- > 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.34.1