Commit 43e361f2 authored by Michael S. Tsirkin's avatar Michael S. Tsirkin

checkpatch: add virt barriers

Add virt_ barriers to list of barriers to check for
presence of a comment.
Signed-off-by: default avatarMichael S. Tsirkin <mst@redhat.com>
Acked-by: default avatarJulian Calaby <julian.calaby@gmail.com>
Acked-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
parent f4073b0f
...@@ -5133,7 +5133,8 @@ sub process { ...@@ -5133,7 +5133,8 @@ sub process {
}x; }x;
my $all_barriers = qr{ my $all_barriers = qr{
(?:$barriers)| (?:$barriers)|
smp_(?:$barrier_stems) smp_(?:$barrier_stems)|
virt_(?:$barrier_stems)
}x; }x;
if ($line =~ /\b(?:$all_barriers)\s*\(/) { if ($line =~ /\b(?:$all_barriers)\s*\(/) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment