checkpatch: improve test for no space after cast
authorJoe Perches <joe@perches.com>
Wed, 10 Dec 2014 23:51:37 +0000 (15:51 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Dec 2014 01:41:11 +0000 (17:41 -0800)
commit04941aa774320eb0118339c8cd11d7f1321e74d3
tree18b686448c7595550bf5736032b2ab480f68dc7e
parent619a908aa334c854594e690fdbf1fe37b0e3e740
checkpatch: improve test for no space after cast

sizeof(foo) is not a cast, allow a space after it.

Signed-off-by: Joe Perches <joe@perches.com>
Tested-by: Kalle Valo <kvalo@qca.qualcomm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl