diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 4c53d6f67339bcef861c54f64b39af10c7c41406..b4390cf818da6327fe8f571fd5cc5756010dc311 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -1224,7 +1224,9 @@ sub possible { case| else| asm|__asm__| - do + do| + \#| + \#\#| )(?:\s|$)| ^(?:typedef|struct|enum)\b )}x;