checkpatch: add [] to type extensions
authorAndy Whitcroft <apw@canonical.com>
Fri, 23 Mar 2012 22:02:18 +0000 (15:02 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 23 Mar 2012 23:58:36 +0000 (16:58 -0700)
commitb337d8b82f235d0212f7adcaeb431fd4e688bb98
tree1caccc45dbd1edfec3ff4d02e268f76444330ccf
parentfd1b57ac73f169a5ba7a9569989aad40184f6340
checkpatch: add [] to type extensions

Add [] to a type extensions.  Fixes false positives on:

    .attrs = (struct attribute *[]) {

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl