Add virt_ barriers to list of barriers to check for presence of a comment.
Showing the changes to scripts/checkpatch.pl (1 of 1 file). Show all
Unified · Split
| @@ -5133,7 +5133,8 @@ sub process { · 5132 unmodified lines | ||
| 5133 | 5133 | }x; |
| 5134 | 5134 | my $all_barriers = qr{ |
| 5135 | 5135 | (?:$barriers)| |
| 5136 | − smp_(?:$barrier_stems) | |
| 5136 | + smp_(?:$barrier_stems)| | |
| 5137 | + virt_(?:$barrier_stems) | |
| 5137 | 5138 | }x; |
| 5138 | 5139 | |
| 5139 | 5140 | if ($line =~ /\b(?:$all_barriers)\s*\(/) { |