summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorZhou Jie2016-04-25 17:36:06 +0200
committerDavid Gibson2016-05-27 01:40:23 +0200
commit8afc22a20fba6aa078e4e7a625d16d78da768323 (patch)
tree8cf698f4f8ec81a66c0299617989aa39637997b2 /include
parenthw/net/spapr_llan: Provide counter with dropped rx frames to the guest (diff)
downloadqemu-8afc22a20fba6aa078e4e7a625d16d78da768323.tar.gz
qemu-8afc22a20fba6aa078e4e7a625d16d78da768323.tar.xz
qemu-8afc22a20fba6aa078e4e7a625d16d78da768323.zip
Added negative check for get_image_size()
This patch adds check for negative return value from get_image_size(), where it is missing. It avoids unnecessary two function calls. Signed-off-by: Zhou Jie <zhoujie2011@cn.fujitsu.com> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions