[PATCH v2] acpi_table: Fix coverity defect in acpi_write_spcr
Tom Rini
trini at konsulko.com
Sun Nov 3 00:25:14 CET 2024
On Wed, 30 Oct 2024 14:11:46 +0100, Patrick Rudolph wrote:
> Fix "Integer handling issues (SIGN_EXTENSION)" in newly added code:
> Cast serial_info.reg_offset to u64 to prevent an integer overflow when
> shifted too many bits to the left. Currently this never happens as the
> shift is supposed to be less than 4.
>
>
Applied to local tree/v2-tidy-test-dir, thanks!
--
Tom
More information about the U-Boot
mailing list