aboutsummaryrefslogtreecommitdiff
path: root/backends/cryptodev-builtin.c
diff options
context:
space:
mode:
authorCédric Le Goater <clg@kaod.org>2023-09-18 16:58:45 +0200
committerMarkus Armbruster <armbru@redhat.com>2023-09-29 10:07:17 +0200
commitbd87a59f52c85e504323c3dbdacc84e2cefce8d1 (patch)
tree5709f5cfbde714ded714f858c3f569e58c980271 /backends/cryptodev-builtin.c
parent694616d68455eaa14f860e7a2bbe41043e8340d7 (diff)
downloadqemu-bd87a59f52c85e504323c3dbdacc84e2cefce8d1.zip
qemu-bd87a59f52c85e504323c3dbdacc84e2cefce8d1.tar.gz
qemu-bd87a59f52c85e504323c3dbdacc84e2cefce8d1.tar.bz2
spapr: Clean up local variable shadowing in spapr_dt_cpus()
Introduce a helper routine defining one CPU device node to fix this warning : ../hw/ppc/spapr.c: In function ‘spapr_dt_cpus’: ../hw/ppc/spapr.c:812:19: warning: declaration of ‘cs’ shadows a previous local [-Wshadow=compatible-local] 812 | CPUState *cs = rev[i]; | ^~ ../hw/ppc/spapr.c:786:15: note: shadowed declaration is here 786 | CPUState *cs; | ^~ Signed-off-by: Cédric Le Goater <clg@kaod.org> Message-ID: <20230918145850.241074-4-clg@kaod.org> Reviewed-by: Harsh Prateek Bora <harshpb@linux.ibm.com> Signed-off-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'backends/cryptodev-builtin.c')
0 files changed, 0 insertions, 0 deletions