qemu-e2k/scripts
Eric Blake f4bdc13e49 checkpatch: Enforce proper do/while (0) style
Use of a loop construct for code that is not intended to repeat
does not make much idiomatic sense, except in one place: it is a
common usage in macros in order to wrap arbitrary code with
single-statement semantics.  But when used in a macro, it is more
typical for the caller to supply the trailing ';' when calling
the macro.

Although qemu coding style frowns on bare:
  if (cond)
    statement1;
  else
    statement2;
where extra semicolons actually cause syntax errors, we still
want our macro styles to be easily copied to other projects.
Thus, declare it an error if we encounter any form of 'while (0)'
with a semicolon in the same line.

Signed-off-by: Eric Blake <eblake@redhat.com>
Message-Id: <20171201232433.25193-8-eblake@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2018-01-16 14:54:52 +01:00
..
coccinelle target/*helper: don't check retaddr before calling cpu_restore_state 2017-12-27 17:20:44 -08:00
kvm
modules
qemu-guest-agent
qemugdb scripts/qemu-gdb/timers.py: new helper to dump timer state 2018-01-16 14:54:51 +01:00
qmp Use HTTPS for qemu.org and other domains 2017-11-21 13:34:13 +00:00
tracetool trace: use static event ID mapping in simpletrace.stp 2017-08-15 12:50:29 +01:00
analyse-9p-simpletrace.py
analyze-inclusions
analyze-migration.py
archive-source.sh ui: add keycodemapdb repository as a GIT submodule 2017-10-16 14:50:54 +02:00
argparse.py scripts: add argparse module for Python 2.6 compatibility 2017-08-30 12:02:11 +01:00
check-qerror.sh
checkpatch.pl checkpatch: Enforce proper do/while (0) style 2018-01-16 14:54:52 +01:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config Add --firmwarepath to configure 2017-09-26 13:05:32 +02:00
device-crash-test hw/ppc: Remove the deprecated spapr-pci-vfio-host-bridge device 2018-01-10 12:53:00 +11:00
disas-objdump.pl
dump-guest-memory.py dump-guest-memory.py: fix "You can't do that without a process to debug" 2018-01-02 14:49:54 +01:00
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl Use qemu.org domain name 2017-11-21 13:34:13 +00:00
git-submodule.sh build: fix typo in error message 2017-12-18 17:07:02 +03:00
git.orderfile
gtester-cat
hxtool qemu-options: Remove stray colons from output of --help 2017-12-20 09:04:27 +01:00
make_device_config.sh
make-release scripts/make-release: ship u-boot source as a tarball 2017-11-21 12:48:20 +00:00
ordereddict.py
qapi2texi.py qapi2texi: De-duplicate code to add blank line before symbol 2017-12-20 19:18:33 +01:00
qapi-commands.py
qapi-event.py qapi: Generate FOO_str() macro for QAPI enum FOO 2017-09-04 13:09:13 +02:00
qapi-introspect.py
qapi-types.py qapi: Generate FOO_str() macro for QAPI enum FOO 2017-09-04 13:09:13 +02:00
qapi-visit.py qapi: Change data type of the FOO_lookup generated for enum FOO 2017-09-04 13:09:13 +02:00
qapi.py qapi: Rename QAPIDoc.parser, .section to ._parser, ._section 2017-12-20 19:18:33 +01:00
qemu-binfmt-conf.sh linux-user: Activate armeb handler registration 2018-01-11 13:25:33 +00:00
qemu-gdb.py scripts/qemu-gdb/timers.py: new helper to dump timer state 2018-01-16 14:54:51 +01:00
qemu.py scripts: Remove debug parameter from QEMUMachine 2017-10-11 15:15:17 -03:00
qtest.py qtest.py: Few pylint/style fixes 2017-09-15 20:12:00 -03:00
refresh-pxe-roms.sh
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py simpletrace: fix flight recorder --no-header option 2017-08-15 12:50:29 +01:00
switch-timer-api
texi2pod.pl
tracetool.py
update-linux-headers.sh s390/kvm_virtio/linux-headers: remove traces of old virtio transport 2017-11-24 10:52:05 +01:00
vmstate-static-checker.py