diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-05-22 23:36:48 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-27 10:33:41 +0200 |
commit | 52a1125633abf465f59d184020add71616b87efa (patch) | |
tree | 86897e26c247d381ceb4cc0eac360905afd24fef /scripts/gcc-plugins/sancov_plugin.c | |
parent | 9656f9540fa3949dfb65e9f18d263bbd96778831 (diff) |
ACPI: EC: Abort address space access upon error
[ Upstream commit f6f172dc6a6d7775b2df6adfd1350700e9a847ec ]
When a multi-byte address space access is requested, acpi_ec_read()/
acpi_ec_write() is being called multiple times.
Abort such operations if a single call to acpi_ec_read() /
acpi_ec_write() fails, as the data read from / written to the EC
might be incomplete.
Signed-off-by: Armin Wolf <W_Armin@gmx.de>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts/gcc-plugins/sancov_plugin.c')
0 files changed, 0 insertions, 0 deletions