qemu/hw/i386
Ani Sinha 7b393b7142 hw/acpi: changes towards enabling -Wshadow=local
Code changes in acpi that addresses all compiler complaints coming from enabling
-Wshadow flags. Enabling -Wshadow catches cases of local variables shadowing
other local variables or parameters. These makes the code confusing and/or adds
bugs that are difficult to catch.  See also

    Subject: Help wanted for enabling -Wshadow=local
    Message-Id: <87r0mqlf9x.fsf@pond.sub.org>
    https://lore.kernel.org/qemu-devel/87r0mqlf9x.fsf@pond.sub.org

The code is tested to build with and without the flag turned on.

CC: Markus Armbruster <armbru@redhat.com>
CC: Philippe Mathieu-Daude <philmd@linaro.org>
CC: mst@redhat.com
CC: imammedo@redhat.com
Signed-off-by: Ani Sinha <anisinha@redhat.com>
Message-ID: <20230922124203.127110-1-anisinha@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
[Commit message tweaked]
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-09-29 10:07:18 +02:00
..
kvm i386: spelling fixes 2023-09-20 07:54:34 +03:00
xen
acpi-build.c hw/acpi: changes towards enabling -Wshadow=local 2023-09-29 10:07:18 +02:00
acpi-build.h
acpi-common.c
acpi-common.h
acpi-microvm.c
acpi-microvm.h
amd_iommu.c i386: spelling fixes 2023-09-20 07:54:34 +03:00
amd_iommu.h
e820_memory_layout.c
e820_memory_layout.h
fw_cfg.c hw/i386/fw_cfg: Include missing 'cpu.h' header 2023-09-07 13:32:37 +02:00
fw_cfg.h
generic_event_device_x86.c
intel_iommu_internal.h
intel_iommu.c i386: spelling fixes 2023-09-20 07:54:34 +03:00
Kconfig
kvmvapic.c
meson.build
microvm-dt.c
microvm-dt.h
microvm.c hw/i386: Rename 'hw/kvm/clock.h' -> 'hw/i386/kvm/clock.h' 2023-08-31 19:47:43 +02:00
multiboot.c
multiboot.h
pc_piix.c pc_piix: remove pc-i440fx-1.4 up to pc-i440fx-1.7 2023-09-25 18:25:02 +02:00
pc_q35.c * only build util/async-teardown.c when system build is requested 2023-09-07 10:29:06 -04:00
pc_sysfw_ovmf-stubs.c
pc_sysfw_ovmf.c
pc_sysfw.c
pc.c pc_piix: remove pc-i440fx-1.4 up to pc-i440fx-1.7 2023-09-25 18:25:02 +02:00
port92.c
sgx-epc.c
sgx-stub.c
sgx.c
trace-events vmmouse: replace DPRINTF with tracing 2023-09-12 10:37:01 +04:00
trace.h
vmmouse.c vmmouse: use explicit code 2023-09-12 10:37:02 +04:00
vmport.c
x86-iommu-stub.c
x86-iommu.c
x86.c target/i386: Allow elision of kvm_hv_vpindex_settable() 2023-09-07 13:32:37 +02:00