]> git.baikalelectronics.ru Git - kernel.git/commit
ACPICA: iASL: Add new warnings for method local_x and arg_x variables
authorBob Moore <robert.moore@intel.com>
Thu, 23 Jul 2015 04:53:35 +0000 (12:53 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 23 Jul 2015 21:09:08 +0000 (23:09 +0200)
commit860ad1f8b94baff17f6f52d684bb65bf2c0ed044
tree984c655da08c73aa188e040c9ec1bb39a77e6a9d
parent859866ece45caf28c31ac1d085090978d5021c85
ACPICA: iASL: Add new warnings for method local_x and arg_x variables

ACPICA commit eb9f8cb9fd65f1149dd335d05944c31cbca41af3

1) Warn if a Local is set but never used
2) Warn if a arg_x is never used (for non-predefined method names)
3) Warn if a arg_x that is used as a local is never used

This patch only affects iASL which is not in the kernel source tree.

Link: https://github.com/acpica/acpica/commit/eb9f8cb9
Signed-off-by: Bob Moore <robert.moore@intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpica/aclocal.h