Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2266156ybl; Thu, 30 Jan 2020 14:21:22 -0800 (PST) X-Google-Smtp-Source: APXvYqxpzUn3o2KQcgaaA28k3VtwQt0Uq1wi6UV+7ueKOvoSureifigB5OloSY+eI2uwXjGaFZQu X-Received: by 2002:aca:3044:: with SMTP id w65mr741805oiw.54.1580422881928; Thu, 30 Jan 2020 14:21:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580422881; cv=none; d=google.com; s=arc-20160816; b=eGuf3DWigkjoxOYkBU5JgYZxobvdkw5jTSWmt6sc+LRPWnOFG/PhVnwBVyN4Y741ny NgnK2cMzw4RSgWg0LXCAw8zaBBM0lF/ZrwC0MEXE+wgrlTmkI60cX86fEd1Iv0ZPQibL +BXXFgByParroJ83P2fLbx5a9GCpalI6EAyvN7kcyHyfV1D5yw5uRwQqK/AteXU718az hBwBB7ayFD34JHCdcTT1S95HaJr3HeYldaI8i8Fs1D66pb0jnbpPNpUikEr9Vc/62GAj /5Z5DMn1031SA7slahZNL/pib/WoojIaJeF5ynfatqX9+e2IQJsV17IEm4XAjHqL1lFV qVuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=en1MT5pfFYZGlv9UT5t9agWedf83iVv/aGc5EUfT5Zc=; b=ZggBtf0dpHdAOm+BZ54a6uoKGXk20hRtBvB8xJ3f4EModf2vLB80G6+P46Ynf8IaOg 8qFM7e4QhbQ+IT6SX9ToK/9hMkro3ippRM41R/g/Tf0pUCWMub8bc9DrHqDBQv1N+ZPY FdWQzSmmdv5Pb2FmwLQZYoHEW/Sp8Ka+ivfnkvqevEY6RYsikv8xmzlr5ejxPjFhqMrs QmxvMSDk3jhcIMNFCBuHs6IGntjaqTmO5p5wavQuXXMTmHY299/dontjGP/gv+v4ikIB v0S6Cw9iMG7Md1b3UZUVekBUhkdW2nMOkphY1dJYp2XPblXmGmk97cVNQhRrncFLoym0 tRdQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j9si3498409oiw.133.2020.01.30.14.21.08; Thu, 30 Jan 2020 14:21:21 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726492AbgA3WUH (ORCPT + 99 others); Thu, 30 Jan 2020 17:20:07 -0500 Received: from mail-qt1-f195.google.com ([209.85.160.195]:41555 "EHLO mail-qt1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbgA3WUH (ORCPT ); Thu, 30 Jan 2020 17:20:07 -0500 Received: by mail-qt1-f195.google.com with SMTP id l19so3825825qtq.8; Thu, 30 Jan 2020 14:20:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=en1MT5pfFYZGlv9UT5t9agWedf83iVv/aGc5EUfT5Zc=; b=Ev4rTNf6mduRXJB3Lr9t6ESO8yGPYrVRQa8YXDWaE/1mkN71xFH7FPDV+8+Mp88wo6 VWJ6SyEmxCVA4tIgG9X2eyUKeKX8LxS4be0SXKOvDMjBbNxKhC66iKjlptke6lZnjdv+ ezfPz0ZA4P25JRQDYOcDSBv2E4bCzK+i61o+07vzvDhq8O+arvd8FcPxJmKcaNggPxbL Ra3x84wL4XwB5Aypy1LIYZQ22D7VlgmZdqbSLqC+iYe22j3vJG0W8CGPKCx8pEEWXX00 eTdGcUdrlJZrQ60xqmwrKuJbw7MON1TUcSxYnqgXjvFs5JDyGJz13ZYrO1z/Pq0oZOBO 8xbw== X-Gm-Message-State: APjAAAUZQhcgTHV4c0XaejTXIOYfbY9wufN8IKzGxpYqlW3Z1j1yBOcw 9aZecFQHcKzU9ZILZtQS+n8= X-Received: by 2002:ac8:76d7:: with SMTP id q23mr473459qtr.198.1580422806255; Thu, 30 Jan 2020 14:20:06 -0800 (PST) Received: from rani.riverdale.lan ([2001:470:1f07:5f3::b55f]) by smtp.gmail.com with ESMTPSA id d25sm3465389qkk.77.2020.01.30.14.20.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 30 Jan 2020 14:20:05 -0800 (PST) From: Arvind Sankar To: Thomas Gleixner , Ingo Molnar , Borislav Petkov , "H. Peter Anvin" , Ard Biesheuvel Cc: linux-efi@vger.kernel.org, x86@kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] efi/x86: Mark setup_graphics static Date: Thu, 30 Jan 2020 17:20:04 -0500 Message-Id: <20200130222004.1932152-1-nivedita@alum.mit.edu> X-Mailer: git-send-email 2.24.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This function is only called from efi_main in the same source file. Signed-off-by: Arvind Sankar --- arch/x86/boot/compressed/eboot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/eboot.c b/arch/x86/boot/compressed/eboot.c index 2447e4508aa4..5e5f89ff5226 100644 --- a/arch/x86/boot/compressed/eboot.c +++ b/arch/x86/boot/compressed/eboot.c @@ -316,7 +316,7 @@ setup_uga(struct screen_info *si, efi_guid_t *uga_proto, unsigned long size) return status; } -void setup_graphics(struct boot_params *boot_params) +static void setup_graphics(struct boot_params *boot_params) { efi_guid_t graphics_proto = EFI_GRAPHICS_OUTPUT_PROTOCOL_GUID; struct screen_info *si; -- 2.24.1