mbox series

[0/2] hw/arm/palm.c: Fix Coverity issue CID 1421944

Message ID 20200628214230.2592-1-peter.maydell@linaro.org
Headers show
Series hw/arm/palm.c: Fix Coverity issue CID 1421944 | expand

Message

Peter Maydell June 28, 2020, 9:42 p.m. UTC
As for spitz and tosa, fix the Coverity issue CID 1421944 which
points out that memory returned from qemu_allocate_irqs() is leaked
by encapsulating the GPIO handling into a simple device.
As with the other series, detabify the file first.

thanks
-- PMM

Peter Maydell (2):
  hw/arm/palm.c: Detabify
  hw/arm/palm.c: Encapsulate misc GPIO handling in a device

 hw/arm/palm.c | 111 ++++++++++++++++++++++++++++++++++----------------
 1 file changed, 77 insertions(+), 34 deletions(-)

-- 
2.20.1

Comments

Peter Maydell July 11, 2020, 6:33 p.m. UTC | #1
On Sun, 28 Jun 2020 at 22:42, Peter Maydell <peter.maydell@linaro.org> wrote:
>

> As for spitz and tosa, fix the Coverity issue CID 1421944 which

> points out that memory returned from qemu_allocate_irqs() is leaked

> by encapsulating the GPIO handling into a simple device.

> As with the other series, detabify the file first.

>

> thanks

> -- PMM

>

> Peter Maydell (2):

>   hw/arm/palm.c: Detabify

>   hw/arm/palm.c: Encapsulate misc GPIO handling in a device

>

>  hw/arm/palm.c | 111 ++++++++++++++++++++++++++++++++++----------------

>  1 file changed, 77 insertions(+), 34 deletions(-)

>


ping for code review, anybody?

thanks
-- PMM