projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb7d668
)
ACPICA: Tables: Fix a regression in acpi_tb_find_table()
author
Lv Zheng
<
[email protected]
>
Tue, 13 Sep 2016 09:48:21 +0000
(17:48 +0800)
committer
Rafael J. Wysocki
<
[email protected]
>
Fri, 16 Sep 2016 23:07:57 +0000
(
01:07
+0200)
In the following commit, the return value of acpi_tb_find_table() is
incorrect:
commit
ac0f06ebb815dabe42f2b2886ee9f879a2170ce4
Author: Lv Zheng <
[email protected]
>
Date: Wed Sep 7 14:07:24 2016 +0800
ACPICA: Tables: Tune table mutex to be a leaf lock
ACPICA commit
f564d57c6501b97a2871f0b4c048e79910f71783
This causes LoadTable opcode to fail. Fix this mistake.
Signed-off-by: Lv Zheng <
[email protected]
>
[ rjw: Changelog ]
Signed-off-by: Rafael J. Wysocki <
[email protected]
>
drivers/acpi/acpica/tbfind.c
patch
|
blob
|
history
diff --git
a/drivers/acpi/acpica/tbfind.c
b/drivers/acpi/acpica/tbfind.c
index a3f7b3789cdcad9dddeb6ad234ca1c563f8933c2..f6b9b4e4298bac5f74a93b7dd1a776dd2d4f7215 100644
(file)
--- a/
drivers/acpi/acpica/tbfind.c
+++ b/
drivers/acpi/acpica/tbfind.c
@@
-152,5
+152,5
@@
acpi_tb_find_table(char *signature,
unlock_and_exit:
(void)acpi_ut_release_mutex(ACPI_MTX_TABLES);
- return_ACPI_STATUS(
AE_NOT_FOUND
);
+ return_ACPI_STATUS(
status
);
}