[PATCH 0/4] error: Mechanical fixes & cleanups

Markus Armbruster posted 4 patches 5 years, 3 months ago
Test docker-quick@centos7 failed
Test docker-mingw@fedora failed
Test checkpatch failed
Test FreeBSD failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20200722084048.1726105-1-armbru@redhat.com
Maintainers: Christian Borntraeger <borntraeger@de.ibm.com>, Halil Pasic <pasic@linux.ibm.com>, Juan Quintela <quintela@redhat.com>, Thomas Huth <thuth@redhat.com>, David Hildenbrand <david@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, Paolo Bonzini <pbonzini@redhat.com>, Jason Wang <jasowang@redhat.com>, Cornelia Huck <cohuck@redhat.com>, "Michael S. Tsirkin" <mst@redhat.com>, Richard Henderson <rth@twiddle.net>, David Gibson <david@gibson.dropbear.id.au>, Markus Armbruster <armbru@redhat.com>, Hailiang Zhang <zhang.zhanghailiang@huawei.com>, Peter Xu <peterx@redhat.com>, "Dr. David Alan Gilbert" <dgilbert@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>
scripts/coccinelle/err-bad-newline.cocci | 24 ++++++++++++++++++++++--
exec.c                                   | 11 +++--------
hw/i386/intel_iommu.c                    |  6 +++---
hw/net/virtio-net.c                      |  8 ++------
hw/s390x/s390-virtio-ccw.c               |  6 +-----
hw/virtio/vhost.c                        | 10 +++-------
migration/colo.c                         |  4 +---
migration/migration.c                    |  8 ++------
target/ppc/mmu-hash64.c                  |  2 +-
9 files changed, 38 insertions(+), 41 deletions(-)
[PATCH 0/4] error: Mechanical fixes & cleanups
Posted by Markus Armbruster 5 years, 3 months ago
Markus Armbruster (4):
  coccinelle/err-bad-newline: Fix for Python 3, and add patterns
  error: Strip trailing '\n' from error string arguments (again)
  error: Remove NULL checks on error_propagate() calls (again)
  error: Use error_fatal to simplify obvious fatal errors (again)

 scripts/coccinelle/err-bad-newline.cocci | 24 ++++++++++++++++++++++--
 exec.c                                   | 11 +++--------
 hw/i386/intel_iommu.c                    |  6 +++---
 hw/net/virtio-net.c                      |  8 ++------
 hw/s390x/s390-virtio-ccw.c               |  6 +-----
 hw/virtio/vhost.c                        | 10 +++-------
 migration/colo.c                         |  4 +---
 migration/migration.c                    |  8 ++------
 target/ppc/mmu-hash64.c                  |  2 +-
 9 files changed, 38 insertions(+), 41 deletions(-)

-- 
2.26.2


Re: [PATCH 0/4] error: Mechanical fixes & cleanups
Posted by Markus Armbruster 5 years, 3 months ago
Markus Armbruster <armbru@redhat.com> writes:

> Markus Armbruster (4):
>   coccinelle/err-bad-newline: Fix for Python 3, and add patterns
>   error: Strip trailing '\n' from error string arguments (again)
>   error: Remove NULL checks on error_propagate() calls (again)
>   error: Use error_fatal to simplify obvious fatal errors (again)

PATCH 1+2 queued for 5.1, PATCH 3+4 queued for 5.2.