aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/tables.c
diff options
context:
space:
mode:
authorLv Zheng <[email protected]>2017-07-10 07:23:21 +0000
committerRafael J. Wysocki <[email protected]>2017-07-20 14:38:24 +0000
commit96d07940623a2a40b2eec01daebf93bbaaee8a3b (patch)
treec724cc030b349e5c004c04925b30721249c0b67c /drivers/acpi/tables.c
parentACPICA: linuxize: cleanup typedef definitions (diff)
downloadkernel-96d07940623a2a40b2eec01daebf93bbaaee8a3b.tar.gz
kernel-96d07940623a2a40b2eec01daebf93bbaaee8a3b.zip
ACPICA: Tables: Add sanity check in acpi_put_table()
ACPICA commit 73512384c9eb1e7f1b28d0a7372df26a3732f96b To avoid caller to trigger unexpected warning messages (Link #1): ACPI Warning: Table ffffffffbb461d20, Validation count is zero before decrement Which is reported from acpi_tb_put_table(). When the table is validated, the pointer must be non-zero. Thus the message is not suitable for invalidated tables. This patch fixes the callee side based on this fact. Reported by Cristian Aravena Romero, Fixed by Lv Zheng. Link: https://github.com/acpica/acpica/commit/73512384 Link: https://bugzilla.kernel.org/show_bug.cgi?id=191221 [#1] Reported-by: Cristian Aravena Romero <[email protected]> Signed-off-by: Lv Zheng <[email protected]> Signed-off-by: Bob Moore <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/acpi/tables.c')
0 files changed, 0 insertions, 0 deletions