mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-04-26 00:03:57 +00:00
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>
This commit is contained in:
parent
d7c76ba7e5
commit
89a883530f
1 changed files with 3 additions and 1 deletions
|
@ -1224,7 +1224,9 @@ sub possible {
|
||||||
case|
|
case|
|
||||||
else|
|
else|
|
||||||
asm|__asm__|
|
asm|__asm__|
|
||||||
do
|
do|
|
||||||
|
\#|
|
||||||
|
\#\#|
|
||||||
)(?:\s|$)|
|
)(?:\s|$)|
|
||||||
^(?:typedef|struct|enum)\b
|
^(?:typedef|struct|enum)\b
|
||||||
)}x;
|
)}x;
|
||||||
|
|
Loading…
Add table
Reference in a new issue