checkpatch: add virt barriers
Add virt_ barriers to list of barriers to check for presence of a comment. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Acked-by: Julian Calaby <julian.calaby@gmail.com> Acked-by: Joe Perches <joe@perches.com> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org>
This commit is contained in:
parent
f4073b0f6e
commit
43e361f23c
@ -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*\(/) {
|
||||||
|
Loading…
Reference in New Issue
Block a user