diff options
author | Armin Wolf <W_Armin@gmx.de> | 2024-05-22 23:36:48 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2024-05-27 12:43:29 +0200 |
commit | f6f172dc6a6d7775b2df6adfd1350700e9a847ec (patch) | |
tree | 0ee152587a5c63e9631908a238e08e4f44137dfa /net/unix/af_unix.c | |
parent | 9b0abe7948364bd35fff2b202ee7f30a2fa73c53 (diff) |
ACPI: EC: Abort address space access upon error
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>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions