]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: dissallow spaces between stars in pointer types
authorAndy Whitcroft <apw@shadowen.org>
Tue, 6 Jan 2009 22:41:21 +0000 (14:41 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 6 Jan 2009 23:59:16 +0000 (15:59 -0800)
commitbf60f145bce510ee16d1073c84eaf1f8da083656
tree923755463967ded1f6f6d0e5a09cb92a628ac005
parentf0d075a350a036856e209b51841a97a0139c27fd
checkpatch: dissallow spaces between stars in pointer types

Disallow spaces within multiple pointer stars (*) in both casts and
definitions.  Both of these would now be reported:

(char * *)
char * *foo;

Also now consistently detects and reports the attributes within these
structures making the error report itself clearer.

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