[Qemu-devel] [PULL 0/2] Machine/NUMA fixes for -rc0

Eduardo Habkost posted 2 patches 7 years, 3 months ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20180709174154.9470-1-ehabkost@redhat.com
Test checkpatch failed
Test docker-mingw@fedora passed
Test docker-quick@centos7 passed
hw/core/machine.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
[Qemu-devel] [PULL 0/2] Machine/NUMA fixes for -rc0
Posted by Eduardo Habkost 7 years, 3 months ago
The following changes since commit 43a473993fd9378bf850dcafa68eb6dee8c300f8:

  Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2018-07-06 18:18:08 +0100)

are available in the Git repository at:

  git://github.com/ehabkost/qemu.git tags/machine-next-pull-request

for you to fetch changes up to 7747abf114874537e898c60ff863828a4e82201d:

  hw/machine: Remove the Zero check of nb_numa_nodes for numa_complete_configuration() (2018-07-09 14:37:48 -0300)

----------------------------------------------------------------
Machine/NUMA fixes for -rc0

* Properly free device_memory at machine_finalize()
* Fix implicit NUMA initialization regression (for machines with
  auto_enable_numa_with_memhp=true)

----------------------------------------------------------------

Queue for Machine Core patches


David Hildenbrand (1):
  machine: properly free device_memory

Dou Liyang (1):
  hw/machine: Remove the Zero check of nb_numa_nodes for
    numa_complete_configuration()

 hw/core/machine.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

-- 
2.18.0.rc1.1.g3f1ff2140


Re: [Qemu-devel] [PULL 0/2] Machine/NUMA fixes for -rc0
Posted by no-reply@patchew.org 7 years, 3 months ago
Hi,

This series seems to have some coding style problems. See output below for
more information:

Type: series
Message-id: 20180709174154.9470-1-ehabkost@redhat.com
Subject: [Qemu-devel] [PULL 0/2] Machine/NUMA fixes for -rc0

=== TEST SCRIPT BEGIN ===
#!/bin/bash

BASE=base
n=1
total=$(git log --oneline $BASE.. | wc -l)
failed=0

git config --local diff.renamelimit 0
git config --local diff.renames True
git config --local diff.algorithm histogram

commits="$(git log --format=%H --reverse $BASE..)"
for c in $commits; do
    echo "Checking PATCH $n/$total: $(git log -n 1 --format=%s $c)..."
    if ! git show $c --format=email | ./scripts/checkpatch.pl --mailback -; then
        failed=1
        echo
    fi
    n=$((n+1))
done

exit $failed
=== TEST SCRIPT END ===

Updating 3c8cf5a9c21ff8782164d1def7f44bd888713384
From https://github.com/patchew-project/qemu
 * [new tag]               patchew/20180709174154.9470-1-ehabkost@redhat.com -> patchew/20180709174154.9470-1-ehabkost@redhat.com
Switched to a new branch 'test'
4956ab47be hw/machine: Remove the Zero check of nb_numa_nodes for numa_complete_configuration()
daaacdfd4b machine: properly free device_memory

=== OUTPUT BEGIN ===
Checking PATCH 1/2: machine: properly free device_memory...
Checking PATCH 2/2: hw/machine: Remove the Zero check of nb_numa_nodes for numa_complete_configuration()...
ERROR: braces {} are necessary for all arms of this statement
#34: FILE: hw/core/machine.c:796:
+    if (nb_numa_nodes)
[...]

total: 1 errors, 0 warnings, 12 lines checked

Your patch has style problems, please review.  If any of these errors
are false positives report them to the maintainer, see
CHECKPATCH in MAINTAINERS.

=== OUTPUT END ===

Test command exited with code: 1


---
Email generated automatically by Patchew [http://patchew.org/].
Please send your feedback to patchew-devel@redhat.com
Re: [Qemu-devel] [PULL 0/2] Machine/NUMA fixes for -rc0
Posted by Peter Maydell 7 years, 3 months ago
On 9 July 2018 at 18:41, Eduardo Habkost <ehabkost@redhat.com> wrote:
> The following changes since commit 43a473993fd9378bf850dcafa68eb6dee8c300f8:
>
>   Merge remote-tracking branch 'remotes/bonzini/tags/for-upstream' into staging (2018-07-06 18:18:08 +0100)
>
> are available in the Git repository at:
>
>   git://github.com/ehabkost/qemu.git tags/machine-next-pull-request
>
> for you to fetch changes up to 7747abf114874537e898c60ff863828a4e82201d:
>
>   hw/machine: Remove the Zero check of nb_numa_nodes for numa_complete_configuration() (2018-07-09 14:37:48 -0300)
>
> ----------------------------------------------------------------
> Machine/NUMA fixes for -rc0
>
> * Properly free device_memory at machine_finalize()
> * Fix implicit NUMA initialization regression (for machines with
>   auto_enable_numa_with_memhp=true)
>
> ----------------------------------------------------------------
>

Applied, thanks.

-- PMM