From: Joe Perches Date: Wed, 6 Aug 2014 23:11:27 +0000 (-0700) Subject: checkpatch: fix false positives for --strict "space after cast" test X-Git-Tag: cleanup-for-v3.18~96^2~2 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=308cc8d8f0deab2c5a5162316277ced556acc71f;p=pandora-kernel.git checkpatch: fix false positives for --strict "space after cast" test Commit 89da401f6cff ("checkpatch: improve "no space after cast" test") in -next improved the cast test for non pointer types, but also introduced false positives for some types of static inlines. Add a test for an open brace to the exclusions to avoid these false positives. Signed-off-by: Joe Perches Reported-by: Hartley Sweeten Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed