History

checkpatch: add virt barriers

Add virt_ barriers to list of barriers to check for presence of a comment.

Michael S. Tsirkin committed 10 years ago

Commit 43e361f1 parent f4073b01 file · +2 −1Browse files

Unified · Split

scripts/checkpatch.pl+2−1
@@ -5133,7 +5133,8 @@ sub process { · 5132 unmodified lines
51335133 }x;
51345134 my $all_barriers = qr{
51355135 (?:$barriers)|
5136− smp_(?:$barrier_stems)
5136+ smp_(?:$barrier_stems)|
5137+ virt_(?:$barrier_stems)
51375138 }x;
51385139
51395140 if ($line =~ /\b(?:$all_barriers)\s*\(/) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t