qom: Fix warning from Sparse
Sparse report: qom/cpu.c:99:5: warning: returning void-valued expression Cc: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Weil <sw@weilnetz.de> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
This commit is contained in:
parent
327e9759f1
commit
fbe95bfb65
@ -96,7 +96,7 @@ void cpu_get_memory_mapping(CPUState *cpu, MemoryMappingList *list,
|
|||||||
{
|
{
|
||||||
CPUClass *cc = CPU_GET_CLASS(cpu);
|
CPUClass *cc = CPU_GET_CLASS(cpu);
|
||||||
|
|
||||||
return cc->get_memory_mapping(cpu, list, errp);
|
cc->get_memory_mapping(cpu, list, errp);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void cpu_common_get_memory_mapping(CPUState *cpu,
|
static void cpu_common_get_memory_mapping(CPUState *cpu,
|
||||||
|
Loading…
Reference in New Issue
Block a user