diff options
author | Cédric Le Goater <clg@fr.ibm.com> | 2016-04-01 11:40:06 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-04-05 11:46:52 +0200 |
commit | f0707d2e03186092f778269a9d22ec78481f12dc (patch) | |
tree | f50266b82d3896950b7afcbf66c71e91ff73909e /bt-vhci.c | |
parent | 48e1a45c3166d659f781171a47dabf4a187ed7a5 (diff) | |
download | qemu-f0707d2e03186092f778269a9d22ec78481f12dc.zip qemu-f0707d2e03186092f778269a9d22ec78481f12dc.tar.gz qemu-f0707d2e03186092f778269a9d22ec78481f12dc.tar.bz2 |
checkpatch: add target_ulong to typelist
In some occasions, a patch [1] can start with a hunk containing a
simple type cast. At the time annotate_values() is run, the type is
unknown and the cast type is misinterpreted as a identifier, resulting
in an error if it is followed with a negative value:
ERROR: spaces required around that '-' (ctx:WxV)
It seems complex to catch all possible types in a cast expression. So,
as a fallback solution, let's add some common qemu types to the
typeList array.
[1] http://lists.nongnu.org/archive/html/qemu-devel/2016-03/msg06741.html
Signed-off-by: Cédric Le Goater <clg@fr.ibm.com>
Message-Id: <1459503606-31603-1-git-send-email-clg@fr.ibm.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'bt-vhci.c')
0 files changed, 0 insertions, 0 deletions