0d9b360b42
Fix reports found by undefined behavior sanitizer. 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: I755b3c80a8d1b6cb6b6e5f411c6691e5dd17c266 Signed-off-by: Ryan Salsamendi <rsalsamendi@hotmail.com> Reviewed-on: https://review.coreboot.org/20443 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> |
||
---|---|---|
.. | ||
bd82x6x | ||
common | ||
fsp_bd82x6x | ||
fsp_i89xx | ||
fsp_rangeley | ||
i3100 | ||
i82371eb | ||
i82801ax | ||
i82801bx | ||
i82801dx | ||
i82801gx | ||
i82801ix | ||
i82870 | ||
ibexpeak | ||
lynxpoint |