From patchwork Tue Sep 11 08:52:26 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10595321 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E3C69921 for ; Tue, 11 Sep 2018 08:52:35 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D2B9429090 for ; Tue, 11 Sep 2018 08:52:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C6D4329252; Tue, 11 Sep 2018 08:52:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6FEDE29090 for ; Tue, 11 Sep 2018 08:52:35 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726519AbeIKNuw (ORCPT ); Tue, 11 Sep 2018 09:50:52 -0400 Received: from mga17.intel.com ([192.55.52.151]:40026 "EHLO mga17.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726488AbeIKNuw (ORCPT ); Tue, 11 Sep 2018 09:50:52 -0400 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 11 Sep 2018 01:52:34 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,359,1531810800"; d="scan'208";a="79544443" Received: from bee.sh.intel.com (HELO lkp-server01) ([10.239.97.14]) by FMSMGA003.fm.intel.com with ESMTP; 11 Sep 2018 01:52:30 -0700 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1fzePO-00078c-A6; Tue, 11 Sep 2018 16:52:30 +0800 Date: Tue, 11 Sep 2018 16:52:26 +0800 From: kbuild test robot To: Chao Fan Cc: kbuild-all@01.org, tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, x86@kernel.org, linux-kernel@vger.kernel.org, keescook@chromium.org, bhe@redhat.com, indou.takao@jp.fujitsu.com, caoj.fnst@cn.fujitsu.com, douly.fnst@cn.fujitsu.com, Chao Fan , "Rafael J. Wysocki" , Len Brown , Ard Biesheuvel , linux-efi@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [RFC PATCH] x86/boot: get_acpi_srat_table() can be static Message-ID: <20180911085226.GA25670@athens> References: <20180910124015.18073-2-fanc.fnst@cn.fujitsu.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20180910124015.18073-2-fanc.fnst@cn.fujitsu.com> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-acpi-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-acpi@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Fixes: cc1a4e2a5474 ("x86/boot: Add acpitb.c to parse acpi tables") Signed-off-by: kbuild test robot --- acpitb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/acpitb.c b/arch/x86/boot/compressed/acpitb.c index 66c5154..4ddd732 100644 --- a/arch/x86/boot/compressed/acpitb.c +++ b/arch/x86/boot/compressed/acpitb.c @@ -279,7 +279,7 @@ static acpi_physical_address get_rsdp_addr(void) return pa; } -struct acpi_table_header *get_acpi_srat_table(void) +static struct acpi_table_header *get_acpi_srat_table(void) { char *args = (char *)get_cmd_line_ptr(); acpi_physical_address acpi_table;