]> git.ipfire.org Git - thirdparty/qemu.git/commit - hw/sd/sdhci.c
Use DECLARE_*CHECKER* when possible (--force mode)
authorEduardo Habkost <ehabkost@redhat.com>
Mon, 31 Aug 2020 21:07:36 +0000 (17:07 -0400)
committerEduardo Habkost <ehabkost@redhat.com>
Wed, 9 Sep 2020 13:27:11 +0000 (09:27 -0400)
commitfa34a3c58ae7161463aded42e70bd59c212ed9f4
tree905a15c5b4f24c19158b0bf6c76361b4d0a3eafb
parent8110fa1d94f2997badc2af39231a1d279c5bb1ee
Use DECLARE_*CHECKER* when possible (--force mode)

Separate run of the TypeCheckMacro converter using the --force
flag, for the cases where typedefs weren't found in the same
header nor in typedefs.h.

Generated initially using:

 $ ./scripts/codeconverter/converter.py --force -i \
   --pattern=TypeCheckMacro $(git grep -l '' -- '*.[ch]')

Then each case was manually reviewed, and a comment was added
indicating what's unusual about those type checking
macros/functions.  Despite not following the usual pattern, the
changes in this patch were found to be safe.

Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20200831210740.126168-15-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
12 files changed:
hw/intc/apic.c
hw/intc/arm_gic_kvm.c
hw/intc/arm_gicv3_its_kvm.c
hw/intc/arm_gicv3_kvm.c
hw/sd/allwinner-sdhost.c
hw/sd/bcm2835_sdhost.c
hw/sd/pxa2xx_mmci.c
hw/sd/sdhci.c
include/hw/intc/arm_gic.h
include/hw/intc/arm_gicv3.h
include/hw/ppc/xics_spapr.h
include/hw/virtio/virtio-mmio.h