checkpatch: correctly handle type spacing in the face of modifiers
authorAndy Whitcroft <apw@canonical.com>
Fri, 27 Feb 2009 22:03:07 +0000 (14:03 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 28 Feb 2009 00:26:21 +0000 (16:26 -0800)
commit00ef4ece05096a5c523e265b8ce6627fb5e171c2
tree13e3db3b95e04ed3fd53dae599a947c87e87c799
parente2f7aa4b8bc811ebf8afbdf423caf90a5a03cb08
checkpatch: correctly handle type spacing in the face of modifiers

We need to handle interspersed modifiers in the middle of pointer types,
for example:

void * __user * __user bar;

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