the following patch was just integrated into master: commit df3629b63cc840f089cfd645fc5cf992bbbffe16 Author: Edward O'Callaghan eocallaghan@alterapraxis.com Date: Sat Jun 28 17:31:58 2014 +1000
northbridge/amd/{gx2,lx}: Qualify pointer with `volatile`
There is no guarantee reading a dereferenced null pointer will not be optimised away. Qualify the integer storage type with volatile. Clang enforces this explicitness.
Change-Id: I31524141d70632cade0490c820936a3a8b570346 Signed-off-by: Edward O'Callaghan eocallaghan@alterapraxis.com Reviewed-on: http://review.coreboot.org/6148 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi patrick@georgi-clan.de
See http://review.coreboot.org/6148 for details.
-gerrit