[Qemu-devel] [PATCH 0/4] Header guards

Markus Armbruster posted 4 patches 4 years, 10 months ago
Test s390x passed
Test checkpatch passed
Test asan passed
Test docker-mingw@fedora passed
Test docker-clang@ubuntu passed
Test FreeBSD passed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/qemu tags/patchew/20190604181618.19980-1-armbru@redhat.com
Maintainers: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>, Aleksandar Rikalo <arikalo@wavecomp.com>, Jason Wang <jasowang@redhat.com>, Riku Voipio <riku.voipio@iki.fi>, Aurelien Jarno <aurelien@aurel32.net>, Andrew Baumann <Andrew.Baumann@microsoft.com>, Peter Maydell <peter.maydell@linaro.org>, Anthony Perard <anthony.perard@citrix.com>, Gerd Hoffmann <kraxel@redhat.com>, "Alex Bennée" <alex.bennee@linaro.org>, Helge Deller <deller@gmx.de>, "Philippe Mathieu-Daudé" <philmd@redhat.com>, Artyom Tarasenko <atar4qemu@gmail.com>, Laurent Vivier <laurent@vivier.eu>, "Daniel P. Berrangé" <berrange@redhat.com>, Viktor Prutyanov <viktor.prutyanov@phystech.edu>, Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>, Aleksandar Markovic <amarkovic@wavecomp.com>, Palmer Dabbelt <palmer@sifive.com>, Anthony Green <green@moxielogic.com>, "Michael S. Tsirkin" <mst@redhat.com>, Eduardo Habkost <ehabkost@redhat.com>, Marcel Apfelbaum <marcel.apfelbaum@gmail.com>, "Edgar E. Iglesias" <edgar.iglesias@gmail.com>, Greg Kurz <groug@kaod.org>, David Gibson <david@gibson.dropbear.id.au>, Paolo Bonzini <pbonzini@redhat.com>, "Philippe Mathieu-Daudé" <f4bug@amsat.org>, Richard Henderson <rth@twiddle.net>, Beniamino Galvani <b.galvani@gmail.com>, Dmitry Fleytman <dmitry.fleytman@gmail.com>, Stefano Stabellini <sstabellini@kernel.org>, Sagar Karandikar <sagark@eecs.berkeley.edu>, Laszlo Ersek <lersek@redhat.com>, Paul Durrant <paul.durrant@citrix.com>, Alistair Francis <alistair@alistair23.me>, Thomas Huth <huth@tuxfamily.org>
contrib/elf2dmp/qemu_elf.h                           |  5 ++---
crypto/ivgen-essiv.h                                 |  9 ++++-----
crypto/ivgen-plain.h                                 |  5 ++---
crypto/ivgen-plain64.h                               |  9 ++++-----
hw/9pfs/xen-9pfs.h                                   |  6 +++++-
hw/hppa/hppa_hardware.h                              |  5 +++++
hw/input/adb-internal.h                              |  4 ++++
hw/net/e1000e_core.h                                 |  5 +++++
hw/net/e1000x_common.h                               |  5 +++++
hw/net/vmxnet3_defs.h                                |  6 +++++-
hw/usb/hcd-xhci.h                                    |  5 +++++
hw/usb/quirks.h                                      |  5 +++++
include/disas/dis-asm.h                              |  6 +++---
include/fpu/softfloat-macros.h                       |  5 +++++
include/hw/arm/allwinner-a10.h                       |  4 ++--
include/hw/arm/omap.h                                |  8 +++++---
include/hw/arm/raspi_platform.h                      |  5 +++++
include/hw/arm/xlnx-zynqmp.h                         |  2 +-
include/hw/char/cadence_uart.h                       |  2 +-
include/hw/display/xlnx_dp.h                         |  9 ++++-----
include/hw/dma/xlnx-zynq-devcfg.h                    |  2 +-
include/hw/kvm/clock.h                               |  6 +++++-
include/hw/m68k/mcf_fec.h                            |  5 +++++
include/hw/mips/bios.h                               |  5 +++++
include/hw/net/cadence_gem.h                         |  2 +-
include/hw/pci-bridge/simba.h                        |  5 +++++
include/hw/pci/pci_regs.h                            |  5 +++++
include/hw/qdev-dma.h                                |  6 ++++++
include/hw/semihosting/console.h                     |  6 +++---
include/hw/sparc/sparc64.h                           |  4 ++++
include/hw/timer/xlnx-zynqmp-rtc.h                   |  5 +++++
include/hw/xen/io/ring.h                             |  6 +++---
include/ui/spice-display.h                           |  5 +++++
linux-user/aarch64/syscall_nr.h                      |  4 ++++
linux-user/aarch64/termbits.h                        |  5 +++++
linux-user/alpha/syscall_nr.h                        |  5 +++++
linux-user/alpha/termbits.h                          |  5 +++++
linux-user/arm/syscall_nr.h                          |  5 +++++
linux-user/arm/termbits.h                            |  5 +++++
linux-user/cris/syscall_nr.h                         |  5 +++++
linux-user/cris/termbits.h                           |  5 +++++
linux-user/errno_defs.h                              |  6 ++++++
linux-user/flat.h                                    |  5 +++++
linux-user/hppa/sockbits.h                           |  5 +++++
linux-user/hppa/syscall_nr.h                         |  5 +++++
linux-user/hppa/termbits.h                           |  5 +++++
linux-user/i386/syscall_nr.h                         |  5 +++++
linux-user/i386/termbits.h                           |  5 +++++
linux-user/m68k/syscall_nr.h                         |  5 +++++
linux-user/m68k/termbits.h                           |  5 +++++
linux-user/microblaze/syscall_nr.h                   |  5 +++++
linux-user/microblaze/termbits.h                     |  5 +++++
linux-user/mips/syscall_nr.h                         |  6 ++++++
linux-user/mips/termbits.h                           |  5 +++++
linux-user/mips64/syscall_nr.h                       |  5 +++++
linux-user/nios2/syscall_nr.h                        |  5 +++++
linux-user/nios2/termbits.h                          |  5 +++++
linux-user/openrisc/syscall_nr.h                     |  5 +++++
linux-user/openrisc/termbits.h                       |  5 +++++
linux-user/ppc/syscall_nr.h                          |  6 ++++++
linux-user/ppc/termbits.h                            |  5 +++++
linux-user/riscv/syscall_nr.h                        |  5 +++++
linux-user/riscv/target_syscall.h                    |  5 +++++
linux-user/riscv/termbits.h                          |  5 +++++
linux-user/s390x/syscall_nr.h                        |  5 +++++
linux-user/s390x/termbits.h                          |  4 ++++
linux-user/sh4/syscall_nr.h                          |  5 +++++
linux-user/sh4/termbits.h                            |  5 +++++
linux-user/socket.h                                  |  5 +++++
linux-user/sparc/syscall_nr.h                        |  5 +++++
linux-user/sparc/termbits.h                          |  5 +++++
linux-user/sparc64/syscall_nr.h                      |  5 +++++
linux-user/sparc64/termbits.h                        |  5 +++++
linux-user/target_flat.h                             |  6 ++++++
linux-user/x86_64/syscall_nr.h                       |  5 +++++
linux-user/x86_64/termbits.h                         |  5 +++++
linux-user/xtensa/target_flat.h                      |  8 +++++---
scripts/clean-header-guards.pl                       | 12 +++++++-----
target/cris/crisv10-decode.h                         |  4 ++++
target/cris/mmu.h                                    |  5 +++++
target/cris/opcode-cris.h                            |  6 +++---
target/i386/whp-dispatch.h                           |  7 +++----
target/microblaze/microblaze-decode.h                |  4 ++++
target/microblaze/mmu.h                              |  5 +++++
target/moxie/mmu.h                                   |  5 +++++
target/riscv/cpu_bits.h                              |  5 +++++
target/riscv/cpu_user.h                              |  5 +++++
target/riscv/instmap.h                               |  5 +++++
target/tilegx/spr_def_64.h                           | 10 +++-------
target/tricore/tricore-opcodes.h                     |  5 +++++
tcg/tcg-gvec-desc.h                                  |  5 +++++
tcg/tcg-op-gvec.h                                    |  5 +++++
tests/crypto-tls-psk-helpers.h                       |  5 +++++
tests/crypto-tls-x509-helpers.h                      |  5 +++++
tests/io-channel-helpers.h                           |  9 ++++-----
tests/libqos/virtio-9p.h                             |  5 +++++
tests/libqos/virtio-balloon.h                        |  5 +++++
tests/libqos/virtio-blk.h                            |  5 +++++
tests/libqos/virtio-net.h                            |  5 +++++
tests/libqos/virtio-rng.h                            |  5 +++++
tests/libqos/virtio-scsi.h                           |  5 +++++
tests/libqos/virtio-serial.h                         |  5 +++++
tests/migration/migration-test.h                     |  2 +-
tests/socket-helpers.h                               |  6 +++++-
.../UefiTestToolsPkg/Include/Guid/BiosTablesTest.h   |  6 +++---
105 files changed, 479 insertions(+), 74 deletions(-)
[Qemu-devel] [PATCH 0/4] Header guards
Posted by Markus Armbruster 4 years, 10 months ago
Markus Armbruster (4):
  Normalize position of header guard
  scripts/clean-header-guards: Fix handling of trailing comments
  Clean up a few header guard symbols
  Supply missing header guards

 contrib/elf2dmp/qemu_elf.h                           |  5 ++---
 crypto/ivgen-essiv.h                                 |  9 ++++-----
 crypto/ivgen-plain.h                                 |  5 ++---
 crypto/ivgen-plain64.h                               |  9 ++++-----
 hw/9pfs/xen-9pfs.h                                   |  6 +++++-
 hw/hppa/hppa_hardware.h                              |  5 +++++
 hw/input/adb-internal.h                              |  4 ++++
 hw/net/e1000e_core.h                                 |  5 +++++
 hw/net/e1000x_common.h                               |  5 +++++
 hw/net/vmxnet3_defs.h                                |  6 +++++-
 hw/usb/hcd-xhci.h                                    |  5 +++++
 hw/usb/quirks.h                                      |  5 +++++
 include/disas/dis-asm.h                              |  6 +++---
 include/fpu/softfloat-macros.h                       |  5 +++++
 include/hw/arm/allwinner-a10.h                       |  4 ++--
 include/hw/arm/omap.h                                |  8 +++++---
 include/hw/arm/raspi_platform.h                      |  5 +++++
 include/hw/arm/xlnx-zynqmp.h                         |  2 +-
 include/hw/char/cadence_uart.h                       |  2 +-
 include/hw/display/xlnx_dp.h                         |  9 ++++-----
 include/hw/dma/xlnx-zynq-devcfg.h                    |  2 +-
 include/hw/kvm/clock.h                               |  6 +++++-
 include/hw/m68k/mcf_fec.h                            |  5 +++++
 include/hw/mips/bios.h                               |  5 +++++
 include/hw/net/cadence_gem.h                         |  2 +-
 include/hw/pci-bridge/simba.h                        |  5 +++++
 include/hw/pci/pci_regs.h                            |  5 +++++
 include/hw/qdev-dma.h                                |  6 ++++++
 include/hw/semihosting/console.h                     |  6 +++---
 include/hw/sparc/sparc64.h                           |  4 ++++
 include/hw/timer/xlnx-zynqmp-rtc.h                   |  5 +++++
 include/hw/xen/io/ring.h                             |  6 +++---
 include/ui/spice-display.h                           |  5 +++++
 linux-user/aarch64/syscall_nr.h                      |  4 ++++
 linux-user/aarch64/termbits.h                        |  5 +++++
 linux-user/alpha/syscall_nr.h                        |  5 +++++
 linux-user/alpha/termbits.h                          |  5 +++++
 linux-user/arm/syscall_nr.h                          |  5 +++++
 linux-user/arm/termbits.h                            |  5 +++++
 linux-user/cris/syscall_nr.h                         |  5 +++++
 linux-user/cris/termbits.h                           |  5 +++++
 linux-user/errno_defs.h                              |  6 ++++++
 linux-user/flat.h                                    |  5 +++++
 linux-user/hppa/sockbits.h                           |  5 +++++
 linux-user/hppa/syscall_nr.h                         |  5 +++++
 linux-user/hppa/termbits.h                           |  5 +++++
 linux-user/i386/syscall_nr.h                         |  5 +++++
 linux-user/i386/termbits.h                           |  5 +++++
 linux-user/m68k/syscall_nr.h                         |  5 +++++
 linux-user/m68k/termbits.h                           |  5 +++++
 linux-user/microblaze/syscall_nr.h                   |  5 +++++
 linux-user/microblaze/termbits.h                     |  5 +++++
 linux-user/mips/syscall_nr.h                         |  6 ++++++
 linux-user/mips/termbits.h                           |  5 +++++
 linux-user/mips64/syscall_nr.h                       |  5 +++++
 linux-user/nios2/syscall_nr.h                        |  5 +++++
 linux-user/nios2/termbits.h                          |  5 +++++
 linux-user/openrisc/syscall_nr.h                     |  5 +++++
 linux-user/openrisc/termbits.h                       |  5 +++++
 linux-user/ppc/syscall_nr.h                          |  6 ++++++
 linux-user/ppc/termbits.h                            |  5 +++++
 linux-user/riscv/syscall_nr.h                        |  5 +++++
 linux-user/riscv/target_syscall.h                    |  5 +++++
 linux-user/riscv/termbits.h                          |  5 +++++
 linux-user/s390x/syscall_nr.h                        |  5 +++++
 linux-user/s390x/termbits.h                          |  4 ++++
 linux-user/sh4/syscall_nr.h                          |  5 +++++
 linux-user/sh4/termbits.h                            |  5 +++++
 linux-user/socket.h                                  |  5 +++++
 linux-user/sparc/syscall_nr.h                        |  5 +++++
 linux-user/sparc/termbits.h                          |  5 +++++
 linux-user/sparc64/syscall_nr.h                      |  5 +++++
 linux-user/sparc64/termbits.h                        |  5 +++++
 linux-user/target_flat.h                             |  6 ++++++
 linux-user/x86_64/syscall_nr.h                       |  5 +++++
 linux-user/x86_64/termbits.h                         |  5 +++++
 linux-user/xtensa/target_flat.h                      |  8 +++++---
 scripts/clean-header-guards.pl                       | 12 +++++++-----
 target/cris/crisv10-decode.h                         |  4 ++++
 target/cris/mmu.h                                    |  5 +++++
 target/cris/opcode-cris.h                            |  6 +++---
 target/i386/whp-dispatch.h                           |  7 +++----
 target/microblaze/microblaze-decode.h                |  4 ++++
 target/microblaze/mmu.h                              |  5 +++++
 target/moxie/mmu.h                                   |  5 +++++
 target/riscv/cpu_bits.h                              |  5 +++++
 target/riscv/cpu_user.h                              |  5 +++++
 target/riscv/instmap.h                               |  5 +++++
 target/tilegx/spr_def_64.h                           | 10 +++-------
 target/tricore/tricore-opcodes.h                     |  5 +++++
 tcg/tcg-gvec-desc.h                                  |  5 +++++
 tcg/tcg-op-gvec.h                                    |  5 +++++
 tests/crypto-tls-psk-helpers.h                       |  5 +++++
 tests/crypto-tls-x509-helpers.h                      |  5 +++++
 tests/io-channel-helpers.h                           |  9 ++++-----
 tests/libqos/virtio-9p.h                             |  5 +++++
 tests/libqos/virtio-balloon.h                        |  5 +++++
 tests/libqos/virtio-blk.h                            |  5 +++++
 tests/libqos/virtio-net.h                            |  5 +++++
 tests/libqos/virtio-rng.h                            |  5 +++++
 tests/libqos/virtio-scsi.h                           |  5 +++++
 tests/libqos/virtio-serial.h                         |  5 +++++
 tests/migration/migration-test.h                     |  2 +-
 tests/socket-helpers.h                               |  6 +++++-
 .../UefiTestToolsPkg/Include/Guid/BiosTablesTest.h   |  6 +++---
 105 files changed, 479 insertions(+), 74 deletions(-)

-- 
2.21.0


Re: [Qemu-devel] [PATCH 0/4] Header guards
Posted by Markus Armbruster 4 years, 10 months ago
Queued.