From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.1 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7B17BC2BA1B for ; Wed, 8 Apr 2020 17:40:10 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 51C1C20730 for ; Wed, 8 Apr 2020 17:40:10 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586367610; bh=4z1t98y0f7P25Qq1cT4GsOFIlAkeVEE1O985a/IK2bw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:List-ID:From; b=dQpj20BtaLduZm5YGtx5Rz3hRS8cnTTq/B1gdzSxavENEm3VgRJ128n8pdx0aSJNS sh0mcjQ/RPpDYUvv+F8y6wZNa9LuncekVtJJ4rg9NqVbWK/PUj8+Rk37EsbybbW48Y r21Ga2xO3A8Zu3ZH3G2P6j8T8xoL8eyaIsludGPY= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729256AbgDHRkJ (ORCPT ); Wed, 8 Apr 2020 13:40:09 -0400 Received: from mail.kernel.org ([198.145.29.99]:56108 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726687AbgDHRkJ (ORCPT ); Wed, 8 Apr 2020 13:40:09 -0400 Received: from mail-io1-f48.google.com (mail-io1-f48.google.com [209.85.166.48]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 958F82082F; Wed, 8 Apr 2020 17:40:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1586367608; bh=4z1t98y0f7P25Qq1cT4GsOFIlAkeVEE1O985a/IK2bw=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2aCurHaf3Kme+m9VA6KdGsnfYZHycQsMSe1KCF6NApw9Al+cODF6apQPpghxHCZb7 XXqHbl32UYsvaItv1JOE4FnK6an5lnTUOYN8mTX+ySi2WF6JJcImhX5FjWDrvn7lZk 8Izq2J1s8bYv9/13kjMGJe7p7tFjZdImAwQ3c+kQ= Received: by mail-io1-f48.google.com with SMTP id b12so945479ion.8; Wed, 08 Apr 2020 10:40:08 -0700 (PDT) X-Gm-Message-State: AGi0PuaCJcAOX65z5ZwJboLG/frzHJzv7y9lwR6ZQOEhfbuOPC4LLNyn e3TRR3Xda2cNL0W1vrxfW3Ar3eGfIij5tEQK8kQ= X-Google-Smtp-Source: APiQypLEH9T9Ob5L5UbvOCSRgeiNT5mh0Wy0gYcPpE7ul5g85frCf//lo7NmhEqJG95c0EUOoQ/LFCfUSNUCkGDKkpA= X-Received: by 2002:a02:7785:: with SMTP id g127mr7811753jac.134.1586367607998; Wed, 08 Apr 2020 10:40:07 -0700 (PDT) MIME-Version: 1.0 References: <20200326135041.3264-1-b.thiel@posteo.de> In-Reply-To: <20200326135041.3264-1-b.thiel@posteo.de> From: Ard Biesheuvel Date: Wed, 8 Apr 2020 19:39:56 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] x86/efi: Add a prototype for efi_arch_mem_reserve() To: Benjamin Thiel Cc: X86 ML , LKML , linux-efi Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 26 Mar 2020 at 14:50, Benjamin Thiel wrote: > > ... in order to fix a -Wmissing-ptototypes warning: > > arch/x86/platform/efi/quirks.c:245:13: warning: > no previous prototype for =E2=80=98efi_arch_mem_reserve=E2=80=99 [-Wmissi= ng-prototypes] > void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size) > > Signed-off-by: Benjamin Thiel Thanks. I'll queue this as a fix. > --- > include/linux/efi.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/include/linux/efi.h b/include/linux/efi.h > index 7efd7072cca5..e4b28ae1ba61 100644 > --- a/include/linux/efi.h > +++ b/include/linux/efi.h > @@ -1703,4 +1703,6 @@ struct linux_efi_memreserve { > > void efi_pci_disable_bridge_busmaster(void); > > +void __init efi_arch_mem_reserve(phys_addr_t addr, u64 size); > + > #endif /* _LINUX_EFI_H */ > -- > 2.17.1 >