diff options
author | Bob Moore <robert.moore@intel.com> | 2012-10-31 02:26:01 +0000 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2012-11-15 00:31:24 +0100 |
commit | 68aafc35161dcc9d365a32c2f9f077aedc61754d (patch) | |
tree | 86604dba947e9ee53dad4e613f1f1d7f47e8b5b8 /drivers/acpi/acpica/nsnames.c | |
parent | 86ff0e508f88eda6e479a897476026055831d2d8 (diff) | |
download | blackbird-op-linux-68aafc35161dcc9d365a32c2f9f077aedc61754d.tar.gz blackbird-op-linux-68aafc35161dcc9d365a32c2f9f077aedc61754d.zip |
ACPICA: Audit/update for ACPICA return macros and debug depth counter
1) Ensure that all functions that use the various TRACE macros
also use the appropriate ACPICA return macros.
2) Ensure that all normal return statements surround the return
expression (value) with parens.
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>
Diffstat (limited to 'drivers/acpi/acpica/nsnames.c')
-rw-r--r-- | drivers/acpi/acpica/nsnames.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c index 96e0eb609bb4..55a175eadcc3 100644 --- a/drivers/acpi/acpica/nsnames.c +++ b/drivers/acpi/acpica/nsnames.c @@ -195,7 +195,7 @@ acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node) ACPI_ERROR((AE_INFO, "Invalid Namespace Node (%p) while traversing namespace", next_node)); - return 0; + return (0); } size += ACPI_PATH_SEGMENT_LENGTH; next_node = next_node->parent; |