summaryrefslogtreecommitdiffstats
path: root/scripts/switch-timer-api
diff options
context:
space:
mode:
authorGreg Kurz2017-09-14 11:12:07 +0200
committerPaolo Bonzini2017-09-19 16:20:49 +0200
commit825bfa0052a684f71f36693976fabad185e203c4 (patch)
tree4cab239c8f8966bb743fa477c9321c1a08360129 /scripts/switch-timer-api
parentaccel/hax: move hax-stub.c to accel/stubs/ (diff)
downloadqemu-825bfa0052a684f71f36693976fabad185e203c4.tar.gz
qemu-825bfa0052a684f71f36693976fabad185e203c4.tar.xz
qemu-825bfa0052a684f71f36693976fabad185e203c4.zip
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>
Diffstat (limited to 'scripts/switch-timer-api')
0 files changed, 0 insertions, 0 deletions