[libvirt PATCH v3 0/8] Replace VIR_{ALLOC, ALLOC_N, FREE} in src/cpu/*.

Tim Wiederhake posted 8 patches 3 years, 7 months ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200911132249.514503-1-twiederh@redhat.com
src/cpu/cpu.c       |  6 ++---
src/cpu/cpu_map.c   | 18 ++++++--------
src/cpu/cpu_ppc64.c | 59 ++++++++++++++++-----------------------------
src/cpu/cpu_x86.c   | 11 ++++-----
4 files changed, 35 insertions(+), 59 deletions(-)
[libvirt PATCH v3 0/8] Replace VIR_{ALLOC, ALLOC_N, FREE} in src/cpu/*.
Posted by Tim Wiederhake 3 years, 7 months ago
V1: https://www.redhat.com/archives/libvir-list/2020-September/msg00540.html
V2: https://www.redhat.com/archives/libvir-list/2020-September/msg00610.html

Tim Wiederhake (8):
  cpu_ppc64: Use g_auto* in ppc64MakeCPUData
  cpu_map: Use g_auto* in loadData
  cpu_map: Use g_auto* in loadIncludes
  cpu_x86: Use g_auto* in virX86CpuIncompatible
  cpu_map: Remove unnecessary variable in loadData
  cpu: Replace VIR_ALLOC with g_new0
  cpu: Replace VIR_ALLOC_N with g_new0
  cpu: Replace VIR_FREE with g_free

 src/cpu/cpu.c       |  6 ++---
 src/cpu/cpu_map.c   | 18 ++++++--------
 src/cpu/cpu_ppc64.c | 59 ++++++++++++++++-----------------------------
 src/cpu/cpu_x86.c   | 11 ++++-----
 4 files changed, 35 insertions(+), 59 deletions(-)

-- 
2.26.2


Re: [libvirt PATCH v3 0/8] Replace VIR_{ALLOC, ALLOC_N, FREE} in src/cpu/*.
Posted by Ján Tomko 3 years, 7 months ago
On a Friday in 2020, Tim Wiederhake wrote:
>V1: https://www.redhat.com/archives/libvir-list/2020-September/msg00540.html
>V2: https://www.redhat.com/archives/libvir-list/2020-September/msg00610.html
>
>Tim Wiederhake (8):
>  cpu_ppc64: Use g_auto* in ppc64MakeCPUData
>  cpu_map: Use g_auto* in loadData
>  cpu_map: Use g_auto* in loadIncludes
>  cpu_x86: Use g_auto* in virX86CpuIncompatible
>  cpu_map: Remove unnecessary variable in loadData
>  cpu: Replace VIR_ALLOC with g_new0
>  cpu: Replace VIR_ALLOC_N with g_new0
>  cpu: Replace VIR_FREE with g_free
>
> src/cpu/cpu.c       |  6 ++---
> src/cpu/cpu_map.c   | 18 ++++++--------
> src/cpu/cpu_ppc64.c | 59 ++++++++++++++++-----------------------------
> src/cpu/cpu_x86.c   | 11 ++++-----
> 4 files changed, 35 insertions(+), 59 deletions(-)
>

Pushed.

Jano