commit | df3629b63cc840f089cfd645fc5cf992bbbffe16 | [log] [tgz] |
---|---|---|
author | Edward O'Callaghan <eocallaghan@alterapraxis.com> | Sat Jun 28 17:31:58 2014 +1000 |
committer | Edward O'Callaghan <eocallaghan@alterapraxis.com> | Mon Jun 30 18:14:31 2014 +0200 |
tree | d8992866be74acd89e30463883743fc92d48b34f | |
parent | 38a8fb0c1891bbe3b53965e04c1c7ebcc00654da [diff] |
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>