提交 86ec64bc 编写于 作者: L Lv Zheng 提交者: Rafael J. Wysocki

ACPICA: Tables: Fix a regression in acpi_tb_find_table()

In the following commit, the return value of acpi_tb_find_table() is
incorrect:

commit ac0f06eb
Author: Lv Zheng <lv.zheng@intel.com>
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: NLv Zheng <lv.zheng@intel.com>
[ rjw: Changelog ]
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 cb7d668f
......@@ -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);
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册