coreboot/src
Ryan Salsamendi 70c27de571 cpu/intel/haswell: Fix undefined behavior
Fix undefined behavior found by clang's -Wshift-sign-overflow. 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: Ieacf83d052bf4abfad639ef8e592bd8de17d16e6
Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Reviewed-on: https://review.coreboot.org/20467
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
2017-07-06 20:19:25 +00:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch smbios: Correct the system enclosure types 2017-07-06 08:51:24 +00:00
commonlib riscv: Update the gcc built-in macro __riscv__ 2017-07-01 00:29:38 +00:00
console src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
cpu cpu/intel/haswell: Fix undefined behavior 2017-07-06 20:19:25 +00:00
device src/device: add IS_ENABLED() around Kconfig symbol references 2017-06-28 17:48:57 +00:00
drivers northbridge/intel/haswell: Fix undefined behavior 2017-07-03 10:33:16 +00:00
ec ec/google/chromeec: Add support for EC device events 2017-07-01 02:48:50 +00:00
include smbios: Correct the system enclosure types 2017-07-06 08:51:24 +00:00
lib src/lib: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:19:37 +00:00
mainboard mainboard/[m-w]: add IS_ENABLED() around Kconfig symbol references 2017-07-06 00:20:06 +00:00
northbridge northbridge/intel/haswell: Fix copy paste error 2017-07-03 17:15:50 +00:00
soc soc/intel/quark: Add I2C debugging 2017-07-03 23:30:50 +00:00
southbridge sb/intel/i82870: Add whitespace around '<<' 2017-07-06 08:49:44 +00:00
superio device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode vendorcode/amd/pi: Update AGESA_CFLAGS 2017-07-03 23:27:59 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00