coreboot-kgpe-d16/src
Ryan Salsamendi fce582fa1c cbmem_console: Fix undefined behavior
Fixes report found by undefined behavior sanitizer. Left shifting an int
where the right operand is >= width of type is undefined. Add
ul suffix since it's safe for unsigned types.

Change-Id: I4b2365428e421085285006bc1ea8aea75890ff65
Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com>
Reviewed-on: https://review.coreboot.org/20144
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Martin Roth <martinroth@google.com>
Reviewed-by: Youness Alaoui <snifikino@gmail.com>
2017-06-14 19:51:38 +02:00
..
acpi src/acpi: Capitalize ACPI and SATA 2016-07-31 19:25:40 +02:00
arch arch/x86: Fix undefined behavior 2017-06-14 19:51:12 +02:00
commonlib commonlib: Move drivers/storage into commonlib/storage 2017-05-12 18:20:33 +02:00
console src/console: add IS_ENABLED() around Kconfig symbol references 2017-06-12 04:08:55 +02:00
cpu cpu/x86/mtrr: fail early if solution exceeds available MTRRs 2017-06-13 20:03:16 +02:00
device device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
drivers siemens/nc_fpga: Expand FPGA functionality 2017-06-13 10:27:19 +02:00
ec device/pnp: remove struct io_info 2017-06-13 15:21:58 +02:00
include Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
lib cbmem_console: Fix undefined behavior 2017-06-14 19:51:38 +02:00
mainboard Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02:00
northbridge nb/intel/pineview/raminit.c: Use static const for lookup tables 2017-06-13 22:45:57 +02:00
soc soc/intel/skylake: Add USB port number information to wake source 2017-06-14 01:15:20 +02:00
southbridge Consolidate reset API, add generic reset_prepare mechanism 2017-06-13 20:53:09 +02: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/siemens: Add new values to hwilib 2017-06-13 10:27:04 +02:00
Kconfig lib/edid: Split out fill_lb_framebuffer() 2017-05-30 18:32:44 +02:00