Attention is currently required from: Nico Huber, Paul Menzel.
Hello build bot (Jenkins), Nico Huber, Angel Pons, Werner Zeh,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/51292
to look at the new patch set (#2).
Change subject: x86: pci_io_cfg: Make constant unsigned to fix out of bounds shift ......................................................................
x86: pci_io_cfg: Make constant unsigned to fix out of bounds shift
Fix the error below when building coreboot with `CONFIG_UBSAN=y`.
PCI: pci_scan_bus for bus 00 shift out of bounds src/arch/x86/include/arch/pci_io_cfg.h:13:20 ubsan: unrecoverable error.
TEST=emulation/qemu-i440fx with `CONFIG_UBSAN=y` stops later with [ERROR] unaligned access src/lib/rmodule.c:152:27 [EMERG] ubsan: unrecoverable error. Change-Id: Ib05d225ab9f22078d765009b4ee6ef0c63231eed Found-by: UBSAN Signed-off-by: Paul Menzel pmenzel@molgen.mpg.de --- M src/arch/x86/include/arch/pci_io_cfg.h 1 file changed, 21 insertions(+), 1 deletion(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/92/51292/2