Commit 3e838b6c authored by Joe Perches's avatar Joe Perches Committed by Linus Torvalds

checkpatch: Allow longer declaration macros

Some really long declaration macros exist.

For instance;

Increase the limit from 2 words to 6 after DECLARE/DEFINE uses.
Signed-off-by: default avatarJoe Perches <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent 9f5af480
......@@ -584,7 +584,7 @@ our $LvalOrFunc = qr{((?:[\&\*]\s*)?$Lval)\s*($balanced_parens{0,1})\s*};
our $FuncArg = qr{$Typecast{0,1}($LvalOrFunc|$Constant|$String)};
our $declaration_macros = qr{(?x:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment