Message ID | 20180911085226.GA25670@athens (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
Series | [RFC] x86/boot: get_acpi_srat_table() can be static | expand |
On Tue, Sep 11, 2018 at 04:52:26PM +0800, kbuild test robot wrote: > >Fixes: cc1a4e2a5474 ("x86/boot: Add acpitb.c to parse acpi tables") >Signed-off-by: kbuild test robot <fengguang.wu@intel.com> >--- > 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) Good catch, will add it. Thanks, Chao Fan > { > char *args = (char *)get_cmd_line_ptr(); > acpi_physical_address acpi_table; > >
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;
Fixes: cc1a4e2a5474 ("x86/boot: Add acpitb.c to parse acpi tables") Signed-off-by: kbuild test robot <fengguang.wu@intel.com> --- acpitb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)