lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Sat, 28 Mar 2020 10:14:01 +0100 From: "Rafael J. Wysocki" <rafael@...nel.org> To: YueHaibing <yuehaibing@...wei.com>, Robert Moore <robert.moore@...el.com>, Erik Kaneda <erik.kaneda@...el.com> Cc: Rafael Wysocki <rafael.j.wysocki@...el.com>, Len Brown <lenb@...nel.org>, ACPI Devel Maling List <linux-acpi@...r.kernel.org>, "open list:ACPI COMPONENT ARCHITECTURE (ACPICA)" <devel@...ica.org>, Linux Kernel Mailing List <linux-kernel@...r.kernel.org> Subject: Re: [PATCH -next] ACPICA: Make acpi_protocol_lengths static On Sat, Mar 28, 2020 at 4:47 AM YueHaibing <yuehaibing@...wei.com> wrote: > > Fix sparse warning: > > drivers/acpi/acpica/exfield.c:25:10: warning: > symbol 'acpi_protocol_lengths' was not declared. Should it be static? > > Signed-off-by: YueHaibing <yuehaibing@...wei.com> Bob, Erik, I'm leaving this one to you. > --- > drivers/acpi/acpica/exfield.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/acpi/acpica/exfield.c b/drivers/acpi/acpica/exfield.c > index e85eb31e5075..3323a2ba6a31 100644 > --- a/drivers/acpi/acpica/exfield.c > +++ b/drivers/acpi/acpica/exfield.c > @@ -22,7 +22,7 @@ ACPI_MODULE_NAME("exfield") > */ > #define ACPI_INVALID_PROTOCOL_ID 0x80 > #define ACPI_MAX_PROTOCOL_ID 0x0F > -const u8 acpi_protocol_lengths[] = { > +static const u8 acpi_protocol_lengths[] = { > ACPI_INVALID_PROTOCOL_ID, /* 0 - reserved */ > ACPI_INVALID_PROTOCOL_ID, /* 1 - reserved */ > 0x00, /* 2 - ATTRIB_QUICK */ > -- > 2.17.1 > >
Powered by blists - more mailing lists