checkpatch: exclude asm volatile from complex macro check
[linux-drm-fsl-dcu.git] / scripts / checkpatch.pl
index 0147c91fa549e6ab46b68c47b46425b272c37571..5c00c1c02dab6eaf5b30a04469e7e43ca1556807 100755 (executable)
@@ -4560,6 +4560,9 @@ sub process {
                        {
                        }
 
+                       # Make asm volatile uses seem like a generic function
+                       $dstat =~ s/\b_*asm_*\s+_*volatile_*\b/asm_volatile/g;
+
                        my $exceptions = qr{
                                $Declare|
                                module_param_named|