diff options
author | Michael S. Tsirkin <[email protected]> | 2016-01-04 10:00:10 +0200 |
---|---|---|
committer | Michael S. Tsirkin <[email protected]> | 2016-01-12 20:47:08 +0200 |
commit | 43e361f23c49dbddf74f56ddf6cdd85c5dbff6da (patch) | |
tree | e4847979c0344827a22bceb56eeaf02e409eed83 | |
parent | f4073b0f6e11a5436d1162c623401c8f2f7cf783 (diff) |
checkpatch: add virt barriers
Add virt_ barriers to list of barriers to check for
presence of a comment.
Signed-off-by: Michael S. Tsirkin <[email protected]>
Acked-by: Julian Calaby <[email protected]>
Acked-by: Joe Perches <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
-rwxr-xr-x | scripts/checkpatch.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 25476c29bb18..c7bf1aa2eeb3 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -5133,7 +5133,8 @@ sub process { }x; my $all_barriers = qr{ (?:$barriers)| - smp_(?:$barrier_stems) + smp_(?:$barrier_stems)| + virt_(?:$barrier_stems) }x; if ($line =~ /\b(?:$all_barriers)\s*\(/) { |