qemu-e2k/scripts
Greg Kurz 825bfa0052 checkpatch: add hwaddr to @typeList
The script doesn't know about all possible types and learn them as
it parses the code. If it reaches a line with a type cast but the
type isn't known yet, it is misinterpreted as an identifier.

For example the following line:

    foo = (hwaddr) -1;

results in the following false-positive to be reported:

ERROR: spaces required around that '-' (ctx:VxV)

Let's add this standard QEMU type to the list of pre-known types.

Signed-off-by: Greg Kurz <groug@kaod.org>
Message-Id: <150538015789.8149.10902725348939486674.stgit@bahia.lan>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2017-09-19 16:20:49 +02:00
..
coccinelle
kvm
modules
qemu-guest-agent
qemugdb
qmp
tracetool
analyse-9p-simpletrace.py
analyze-inclusions
analyze-migration.py
argparse.py
check-qerror.sh
checkpatch.pl checkpatch: add hwaddr to @typeList 2017-09-19 16:20:49 +02:00
clean-header-guards.pl
clean-includes
cleanup-trace-events.pl
cocci-macro-file.h
coverity-model.c
create_config
device-crash-test
disas-objdump.pl
dump-guest-memory.py
extract-vsssdk-headers
feature_to_c.sh
get_maintainer.pl
git.orderfile
gtester-cat
hxtool
make_device_config.sh
make-release
ordereddict.py
qapi2texi.py
qapi-commands.py
qapi-event.py
qapi-introspect.py
qapi-types.py
qapi-visit.py
qapi.py
qemu-binfmt-conf.sh
qemu-gdb.py
qemu.py
qtest.py
refresh-pxe-roms.sh
shaderinclude.pl
show-fixed-bugs.sh
signrom.py
simpletrace.py
switch-timer-api
texi2pod.pl
tracetool.py
update-linux-headers.sh update-linux-headers: prepare for hyperv.h removal 2017-09-19 16:20:49 +02:00
vmstate-static-checker.py