[PATCH v1] acpi_table: Fix coverity defect in acpi_write_spcr
Tom Rini
trini at konsulko.com
Tue Oct 29 00:27:14 CET 2024
On Mon, 28 Oct 2024 09:08:35 +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 u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list