]> 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)
commit21bca9b2e9fa60ee3bb9b4758544133c5298e5bc
tree49d1dd395c3029ab6261c8d217f53642d77bdc0f
parent8f55a08c4ed48ee3472407a826efc1ca7f561800
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