summaryrefslogtreecommitdiffstats
path: root/hw/arm/aspeed.c
diff options
context:
space:
mode:
authorPeter Maydell2020-07-13 15:36:12 +0200
committerPeter Maydell2020-07-13 15:36:12 +0200
commitad938fc1d53c99b264ecfc81291a4814204ff3dd (patch)
tree2ccbdb19bbc3cb03906e0d938890c3df74ace204 /hw/arm/aspeed.c
parenthw/arm/palm.c: Detabify (diff)
downloadqemu-ad938fc1d53c99b264ecfc81291a4814204ff3dd.tar.gz
qemu-ad938fc1d53c99b264ecfc81291a4814204ff3dd.tar.xz
qemu-ad938fc1d53c99b264ecfc81291a4814204ff3dd.zip
hw/arm/palm.c: Encapsulate misc GPIO handling in a device
Replace the free-floating set of IRQs and palmte_onoff_gpios() function with a simple QOM device that encapsulates this behaviour. This fixes Coverity issue CID 1421944, which points out that the memory returned by qemu_allocate_irqs() is leaked. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Li Qiang <liq3ea@gmail.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-id: 20200628214230.2592-3-peter.maydell@linaro.org
Diffstat (limited to 'hw/arm/aspeed.c')
0 files changed, 0 insertions, 0 deletions