Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 165213
b: refs/heads/master
c: 307a042
h: refs/heads/master
i:
  165211: ab148d3
v: v3
  • Loading branch information
Bob Moore authored and Len Brown committed Sep 9, 2009
1 parent cb176d1 commit f9d970d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 718fb0de8ff88f71b3b91a8ee8e42e60c88e5128
refs/heads/master: 307a042416dfc2216251a85b79e8578b65fdc0e7
8 changes: 6 additions & 2 deletions trunk/drivers/acpi/acpica/nspredef.c
Original file line number Diff line number Diff line change
Expand Up @@ -193,11 +193,15 @@ acpi_ns_check_predefined_names(struct acpi_namespace_node *node,
}

/*
* We have a return value, but if one wasn't expected, just exit, this is
* 1) We have a return value, but if one wasn't expected, just exit, this is
* not a problem. For example, if the "Implicit Return" feature is
* enabled, methods will always return a value.
*
* 2) If the return value can be of any type, then we cannot perform any
* validation, exit.
*/
if (!predefined->info.expected_btypes) {
if ((!predefined->info.expected_btypes) ||
(predefined->info.expected_btypes == ACPI_RTYPE_ALL)) {
goto cleanup;
}

Expand Down

0 comments on commit f9d970d

Please sign in to comment.