Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89a88353 authored by Andy Whitcroft's avatar Andy Whitcroft Committed by Linus Torvalds
Browse files

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: default avatarAndy Whitcroft <apw@canonical.com>
Reported-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent d7c76ba7
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -1224,7 +1224,9 @@ sub possible {
			case|
			else|
			asm|__asm__|
			do
			do|
			\#|
			\#\#|
		)(?:\s|$)|
		^(?:typedef|struct|enum)\b
	    )}x;