summary refs log tree commit diff stats
path: root/results/scraper/launchpad/1885720
blob: 90dee740db1b5f183b59cb3fc44cabfb89631fa5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
qemu/migration/postcopy-ram.c:387: bad return expression ?

qemu/migration/postcopy-ram.c:387:9: style: Non-boolean value returned from function returning bool [returnNonBoolInBooleanFunction]

Source code is

       return -1;

but

bool postcopy_ram_supported_by_host(

That looks like a bug, indeed!

Yes, I think a goto out; there makes sense;  nearly 5 years old that error :-)

Posted:
migration: postcopy take proper error return

Fix has been merged:
https://git.qemu.org/?p=qemu.git;a=commitdiff;h=617a32f5295ee4e