switch-coreboot/src
Ryan Salsamendi 5d09d48050 drivers/intel/gma: Fix undefined behavior
Fix undefined behavior found by clang's -Wshift-sign-overflow, find,
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: I5240a19647c8ad59f64925f3e1c199446a886d2d
Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Reviewed-on: https://review.coreboot.org/20466
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
2017-07-10 18:15:26 +00:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch x86/acpigen: Fix acpigen_write_field 2017-07-07 21:09:53 +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 drivers/intel/gma: Fix undefined behavior 2017-07-10 18:15:26 +00:00
ec ec/mec1308: Fix fan control ACPI 2017-07-08 19:06:00 +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 google/chell: remove non-existent touchscreen 2017-07-10 18:08:09 +00:00
northbridge nb/amd: add IS_ENABLED() around Kconfig symbol references 2017-07-08 19:01:19 +00:00
soc sgx: Move SGX code to intel/common/block 2017-07-10 17:16:26 +00:00
southbridge southbridge/intel/lynxpoint: Fix undefined behavior 2017-07-10 18:15:11 +00:00
superio superio/ite/it8716f: Update init_ec 2017-07-08 19:02:13 +00:00
vboot vboot: Separate board name and version number in FWID with a dot 2017-04-29 01:44:10 +02:00
vendorcode src/vendorcode: add IS_ENABLED() around Kconfig symbol references 2017-07-08 19:03:42 +00:00
Kconfig Add support for Undefined Behavior Sanitizer 2017-06-14 19:56:59 +02:00