coreboot-kgpe-d16/src/northbridge
Ryan Salsamendi b9bc2571be northbridge/intel/haswell: Fix undefined behavior
Fix undefined behavior found by clang's -Wshift-sign-overflow, grep,
and source inspection. Left shifting an int where the right operand is
>= the width of the type is undefined. Add UL suffix since it's safe
for unsigned types.

Change-Id: Id1ed2252ce3ed052730dd10b24c453c34c2ab4ff
Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Reviewed-on: https://review.coreboot.org/20465
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-07-06 20:20:12 +00:00
..
amd nb/amdk8/debug.c Fix building with CONFIG_DEBUG_SMBUS 2017-06-28 00:50:08 +00:00
intel northbridge/intel/haswell: Fix undefined behavior 2017-07-06 20:20:12 +00:00
via nb/via/cn700: Guard VGA_BIOS_ID appropriately 2017-06-15 06:22:53 +02:00