commit | 1bf4cb2ae7d7006b9bd31eaa1c73c53c6970fa48 | [log] [tgz] |
---|---|---|
author | Patrick Rudolph <patrick.rudolph@9elements.com> | Wed Oct 30 14:11:46 2024 +0100 |
committer | Tom Rini <trini@konsulko.com> | Fri Nov 01 13:33:57 2024 -0600 |
tree | b89555bef3230ba608e99df7de7499f9a648a540 | |
parent | e801e9366132ff1933a74514bdaa02966d87b56f [diff] |
acpi_table: Fix coverity defect in acpi_write_spcr 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. Signed-off-by: Patrick Rudolph <patrick.rudolph@9elements.com>