From: Joe Perches Date: Wed, 3 Jul 2013 22:05:31 +0000 (-0700) Subject: checkpatch: improve "no space after cast" test X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~225 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=23f780c90496eb1cc158e862e7035c8468dfa052;p=pandora-kernel.git checkpatch: improve "no space after cast" test Some false positives exist on this test. For instance: *va_arg(args, signed char *) = val.s; or memset(foo, 0, sizeof(struct bar *) * baz)); Ignore lines that have an arithmetic operator or assignment after what appears to be a cast to a pointer "(foo *)". Add $Arithmetic convenience variable. Signed-off-by: Joe Perches Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed