summaryrefslogtreecommitdiff
path: root/src/mainboard/amd/olivehillplus
diff options
context:
space:
mode:
authorRichard Spiegel <richard.spiegel@amd.corp-partner.google.com>2018-10-29 08:01:53 -0700
committerPatrick Georgi <pgeorgi@google.com>2018-11-05 09:14:31 +0000
commit9f25e9d4809fe41551243b679ac1ff8b36067b5f (patch)
treed6bb6d74faf35d68eb78290e2b495cae9535e5ea /src/mainboard/amd/olivehillplus
parent7ca21c102405f5526dc6b2ab786924e2f08a3c63 (diff)
soc/amd/stoneyridge: Get rid of void pointer math
Pointer math with void pointers is illegal in many compilers, though it works with GCC because it assumes size of void to be 1. Change the pointers or add parenthesis to force a proper order that will not cause compile errors if compiled with a different compiler, and more importantly, don't have unsuspected side effects. BUG=b:118484178 TEST=Build and boot grunt. Change-Id: Ibfeb83893f09cb897d459856aff2a4ab2a74e6e5 Signed-off-by: Richard Spiegel <richard.spiegel@silverbackltd.com> Reviewed-on: https://review.coreboot.org/29337 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Diffstat (limited to 'src/mainboard/amd/olivehillplus')
0 files changed, 0 insertions, 0 deletions