acpi: new function acpi_update_checksum()
authorHeinrich Schuchardt <heinrich.schuchardt@canonical.com>
Fri, 21 Mar 2025 23:21:16 +0000 (00:21 +0100)
committerTom Rini <trini@konsulko.com>
Tue, 8 Apr 2025 21:22:56 +0000 (15:22 -0600)
commit69e61d46d2dcdcf84a3a7aed7cf74ac3b3b850fd
tree6312749e02915e1a9ffd0f33aa5a4005190dcbcf
parentc0267678948bf9df776cca011c8f5329fee2f4c0
acpi: new function acpi_update_checksum()

Introduce a new function to update ACPI table headers.
This allows to simplify the existing code.

Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
Reviewed-by: Matthias Brugger <mbrugger@suse.com>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
include/acpi/acpi_table.h
lib/acpi/acpi.c