qemu/scripts
Florian Mickler 61669f9a83 checkpatch.pl: fix CAST detection
We should only claim that something is a cast if we did not encouter a
token before, that did set av_pending.

This fixes the operator * in the line below to be detected as binary (vs
unary).

kmalloc(sizeof(struct alphatrack_ocmd) * true_size, GFP_KERNEL);

Reported-by: Peter Chubb <nicta.com.au>
Signed-off-by: Florian Mickler <florian@mickler.org>
(cherry-picked from Linux kernel commit c023e4734c3e8801e0ecb5e81b831d42a374d861)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Cc: Blue Swirl <blauwirbel@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
2011-11-26 09:47:00 +00:00
..
kvm
analyse-9p-simpletrace.py
checkpatch.pl checkpatch.pl: fix CAST detection 2011-11-26 09:47:00 +00:00
create_config
feature_to_c.sh
get_maintainer.pl
hxtool
make_device_config.sh
ordereddict.py
qapi-commands.py
qapi-types.py
qapi-visit.py
qapi.py
qemu-binfmt-conf.sh
refresh-pxe-roms.sh
signrom.sh
simpletrace.py
texi2pod.pl
tracetool
update-linux-headers.sh