checkpatch.pl: adjust typedef definition to QEMU coding style
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 10 Jun 2014 08:52:02 +0000 (10:52 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 26 Aug 2014 11:44:28 +0000 (13:44 +0200)
commita6859deb6908261c9a9adf9cc4b8863fc0897b5c
tree29b025f9dd9f1e9cefcbcdf0dca93bd09f18536d
parent9db2efd95e13330075bff027cd682a063d725332
checkpatch.pl: adjust typedef definition to QEMU coding style

Most QEMU typedefs are camelcase, starting with one uppercase letter
and containing at least one lowercase letter.  There are a few
all-uppercase types, add the most common too.

This fixes recognition of types in lines such as

    static __attribute__((unused)) inline void tcg_out8(TCGContext *s, uint8_t v)

(Example provided by Peter Maydell).

Reported-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Stefan Weil <sw@weilnetz.de>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
scripts/checkpatch.pl