diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 1530dbf1dab51335ed7e9055e0a6abc25ef8249b..623d07b977278b465843d8a42188cdb5f5d5fe7b 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -2361,6 +2361,8 @@ sub process { DECLARE_PER_CPU| DEFINE_PER_CPU| __typeof__\(| + union| + struct| \.$Ident\s*=\s*| ^\"|\"$ }x;