summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIan Jackson2018-03-08 19:07:26 +0100
committerIan Jackson2018-04-26 17:29:50 +0200
commit5ac067a24a85fec57d2d87b2d12ae4ffa6aa2d9e (patch)
tree36e419d7229964748cc2ff9dcd999a4dfaea77a3 /include
parentvl.c: new function serial_max_hds() (diff)
downloadqemu-5ac067a24a85fec57d2d87b2d12ae4ffa6aa2d9e.tar.gz
qemu-5ac067a24a85fec57d2d87b2d12ae4ffa6aa2d9e.tar.xz
qemu-5ac067a24a85fec57d2d87b2d12ae4ffa6aa2d9e.zip
checkpatch: Add xendevicemodel_handle to the list of types
This avoids checkpatch misparsing (as statements) long function definitions or declarations, which sometimes start with constructs like this: static inline int xendevicemodel_relocate_memory( xendevicemodel_handle *dmod, domid_t domid, ... The type xendevicemodel_handle does not conform to Qemu CODING_STYLE, which would suggest CamelCase. However, it is a type defined by the Xen Project in xen.git. It would be possible to introduce a typedef to allow the qemu code to refer to it by a differently-spelled name, but that would obfuscate more than it would clarify. CC: Eric Blake <eblake@redhat.com> CC: Paolo Bonzini <pbonzini@redhat.com> CC: Daniel P. Berrange <berrange@redhat.com> Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com> Reviewed-by: Eric Blake <eblake@redhat.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions