]> git.ipfire.org Git - thirdparty/qemu.git/commit
arch_init: Be sure of only one exit entry with DPRINTF() for ram_load()
authorChen Gang <gang.chen.5i5j@gmail.com>
Thu, 1 May 2014 13:28:11 +0000 (21:28 +0800)
committerMichael Roth <mdroth@linux.vnet.ibm.com>
Tue, 5 Aug 2014 18:45:11 +0000 (13:45 -0500)
commit86cfc1044047ae969da74766f436a4bda51db337
tree70240a6b81be7dfe35b3209bf4cdb5b04a2256f0
parentfe7e98c46e188f9b124fe2b3aa55784dad8aa461
arch_init: Be sure of only one exit entry with DPRINTF() for ram_load()

When DPRINTF() has effect, the original author wants to print all
ram_load() calling results. So need use 'goto' instead of 'return'
within ram_load(), just like other areas have done.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(cherry picked from commit 4798fe55c4d539ddf8c7f5befcddfa145b3c6102)
Signed-off-by: Michael Roth <mdroth@linux.vnet.ibm.com>
arch_init.c