]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: ## is not a valid modifier
authorAndy Whitcroft <apw@canonical.com>
Tue, 10 Jan 2012 23:10:00 +0000 (15:10 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 11 Jan 2012 00:30:50 +0000 (16:30 -0800)
commit819281f71d635eccb57e8d661e4ba204a8163fa0
tree49d1dd395c3029ab6261c8d217f53642d77bdc0f
parent0317cf5d526c45e6de91fb7e68ba8962c40bdf97
checkpatch: ## is not a valid modifier

Inserting a # into the modifiers list will incorrectly add the null string
to the modifiers list, leading to an infinite loop.  As neither of these
is a valid modifier form simply ignore them.

Signed-off-by: Andy Whitcroft <apw@canonical.com>
Reported-by: 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