From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Rafael J. Wysocki" Subject: Re: [PATCH 01/11] drivers: acpi: Mark the function acpi_table_checksum() as static in osl.c Date: Mon, 06 Jan 2014 00:30:20 +0100 Message-ID: <6441094.4QZhMcC2S0@vostro.rjw.lan> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Received: from v094114.home.net.pl ([79.96.170.134]:57779 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751795AbaAEXQf convert rfc822-to-8bit (ORCPT ); Sun, 5 Jan 2014 18:16:35 -0500 In-Reply-To: Sender: linux-acpi-owner@vger.kernel.org List-Id: linux-acpi@vger.kernel.org To: Rashika Kheria Cc: linux-kernel@vger.kernel.org, Len Brown , linux-acpi@vger.kernel.org, josh@joshtriplett.org On Tuesday, December 17, 2013 02:43:05 PM Rashika Kheria wrote: > Marks the function acpi_table_checksum() as static in osl.c > because it is not used outside this file. >=20 > This eliminates the following warning in osl.c: > drivers/acpi/osl.c:547:11: warning: no previous prototype for > =E2=80=98acpi_table_checksum=E2=80=99 [-Wmissing-prototypes] >=20 > Signed-off-by: Rashika Kheria > Reviewed-by: Josh Triplett I've queued up patches [1-4/11] and [7-10/11] for 3.14. I've skipped patches [5-6/11], because the general rule for ACPICA mate= rial is that it should go through ACPICA upstream, so please submit those patch= es to Bob/Lv. I'll send a reply to patch [11/11] in a while. Thanks! > --- > drivers/acpi/osl.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) >=20 > diff --git a/drivers/acpi/osl.c b/drivers/acpi/osl.c > index 54a20ff..1f4c104 100644 > --- a/drivers/acpi/osl.c > +++ b/drivers/acpi/osl.c > @@ -544,7 +544,7 @@ static u64 acpi_tables_addr; > static int all_tables_size; > =20 > /* Copied from acpica/tbutils.c:acpi_tb_checksum() */ > -u8 __init acpi_table_checksum(u8 *buffer, u32 length) > +static u8 __init acpi_table_checksum(u8 *buffer, u32 length) > { > u8 sum =3D 0; > u8 *end =3D buffer + length; >=20 --=20 I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" i= n the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html