summaryrefslogtreecommitdiff
path: root/src/southbridge/amd/common
diff options
context:
space:
mode:
authorMartin Roth <martinroth@google.com>2017-01-11 10:57:09 -0700
committerNico Huber <nico.h@gmx.de>2017-01-12 18:52:11 +0100
commit3051cd9265b8eb29742a66fc67db083289fa07e5 (patch)
treeabced5e155d68cff087ebc8fa515a734cad48d21 /src/southbridge/amd/common
parent3e3b858888d735b45c2868fc50f6de53ca0f868a (diff)
downloadcoreboot-3051cd9265b8eb29742a66fc67db083289fa07e5.tar.xz
soc/marvell/mvmap2315: Mark mvmap2315_reset() as noreturn
mvmap2315_reset() is called from locations where we're checking for NULL pointers. Because coverity can't tell from the code that the functions are not returning, it's showing errors of accessing pointers after we've determined that they're invalid. Mark it as noreturn, and add a loop in case the reset isn't on the next instruction. This probably isn't needed, but shouldn't hurt. Found-by: Coverity Scan #1362809 Change-Id: If93084629d5c2c8dc232558f2559b78b1ca5de7c Signed-off-by: Martin Roth <martinroth@google.com> Reviewed-on: https://review.coreboot.org/18103 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/southbridge/amd/common')
0 files changed, 0 insertions, 0 deletions