aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorFlorian Mickler <florian@mickler.org>2011-01-12 16:59:58 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2011-01-13 08:03:11 -0800
commitc023e4734c3e8801e0ecb5e81b831d42a374d861 (patch)
treea497964957d6dd30baa52ffe7a175737599ebca0 /Makefile
parentscripts/checkpatch.pl: add check for multiple terminating semicolons and casts of vmalloc (diff)
downloadlinux-dev-c023e4734c3e8801e0ecb5e81b831d42a374d861.tar.xz
linux-dev-c023e4734c3e8801e0ecb5e81b831d42a374d861.zip
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: Audun Hoem <audun.hoem@gmail.com> Signed-off-by: Florian Mickler <florian@mickler.org> Cc: Andy Whitcroft <apw@shadowen.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions