diff options
author | Yue Haibing <yuehaibing@huawei.com> | 2020-05-05 02:46:49 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2020-05-09 10:55:53 +0200 |
commit | f5308a82e8d51b2f9e44533e6d3bef5893af8bdd (patch) | |
tree | 82492d7c49fa1eba3a65b13da6542d6ddb230612 /drivers/acpi/acpica/dbhistry.c | |
parent | Linux 5.7-rc4 (diff) | |
download | linux-f5308a82e8d51b2f9e44533e6d3bef5893af8bdd.tar.xz linux-f5308a82e8d51b2f9e44533e6d3bef5893af8bdd.zip |
ACPICA: Make acpi_protocol_lengths static
ACPICA commit 0ebacf12b8ca66ce6d3fce4d349b3f2448da18cb
A linux-based static analyzer (sparse) caught this as a warning.
Making this variable static will result in better optimizations and
ensure that this variable does not get used outside of this file.
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
[ek: commit message]
Link: https://github.com/acpica/acpica/commit/0ebacf12
Signed-off-by: Erik Kaneda <erik.kaneda@intel.com>
Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi/acpica/dbhistry.c')
0 files changed, 0 insertions, 0 deletions