mbox series

[0/3] vfio: memory leak fix and code cleanup

Message ID 20231009022048.35475-1-zhenzhong.duan@intel.com (mailing list archive)
Headers show
Series vfio: memory leak fix and code cleanup | expand

Message

Duan, Zhenzhong Oct. 9, 2023, 2:20 a.m. UTC
Hi,

This trivial patchset fixes a incremental memory leak in rare case,
and some cleanup on ap/ccw.

This patchset is based on vfio-next.

Thanks
Zhenzhong

Zhenzhong Duan (3):
  vfio/pci: Fix a potential memory leak in vfio_listener_region_add
  vfio/ap: Remove pointless apdev variable
  vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW

 hw/vfio/ap.c                | 9 +++------
 hw/vfio/common.c            | 2 +-
 include/hw/s390x/vfio-ccw.h | 2 --
 3 files changed, 4 insertions(+), 9 deletions(-)

Comments

Cédric Le Goater Oct. 9, 2023, 6:31 a.m. UTC | #1
On 10/9/23 04:20, Zhenzhong Duan wrote:
> Hi,
> 
> This trivial patchset fixes a incremental memory leak in rare case,
> and some cleanup on ap/ccw.
> 
> This patchset is based on vfio-next.

Will this apply on the future v5 of Eric ?

Thanks,

C.


> 
> Thanks
> Zhenzhong
> 
> Zhenzhong Duan (3):
>    vfio/pci: Fix a potential memory leak in vfio_listener_region_add
>    vfio/ap: Remove pointless apdev variable
>    vfio/ccw: Remove redundant definition of TYPE_VFIO_CCW
> 
>   hw/vfio/ap.c                | 9 +++------
>   hw/vfio/common.c            | 2 +-
>   include/hw/s390x/vfio-ccw.h | 2 --
>   3 files changed, 4 insertions(+), 9 deletions(-)
>
Duan, Zhenzhong Oct. 9, 2023, 6:54 a.m. UTC | #2
>-----Original Message-----
>From: Cédric Le Goater <clg@redhat.com>
>Sent: Monday, October 9, 2023 2:32 PM
>Subject: Re: [PATCH 0/3] vfio: memory leak fix and code cleanup
>
>On 10/9/23 04:20, Zhenzhong Duan wrote:
>> Hi,
>>
>> This trivial patchset fixes a incremental memory leak in rare case,
>> and some cleanup on ap/ccw.
>>
>> This patchset is based on vfio-next.
>
>Will this apply on the future v5 of Eric ?

I think so, though this patchset is applied on v4 of Eric. Let me know if
you want a new version without basing on the prerequisite patchset,
it’s easy to rebase.

Thanks
Zhenzhong
Cédric Le Goater Oct. 9, 2023, 1 p.m. UTC | #3
On 10/9/23 04:20, Zhenzhong Duan wrote:
> Hi,
> 
> This trivial patchset fixes a incremental memory leak in rare case,
> and some cleanup on ap/ccw.
> 
> This patchset is based on vfio-next.

Applied on vfio-next.

Thanks,

C.