Update base code to not rely on undefined overflow behaviour
This consists of ensuring that the left operand of each shift is
unsigned when the operation might overflow into the sign bit.

Change-Id: Iddd6f38139a4c6e500468b4fc48d04e0939f574e
Signed-off-by: Justin Chadwell <justin.chadwell@arm.com>
1 parent d3b6df7 commit 3e43121ed16996758342aafdc42806ea2a0fe181
@Justin Chadwell Justin Chadwell authored on 3 Jul 2019
Showing 2 changed files
View
include/drivers/ufs.h
View
lib/xlat_tables/aarch32/nonlpae_tables.c