diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/checkpatch.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index 23d55bfcb5af..2e40f64ed77f 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl | |||
@@ -3850,8 +3850,8 @@ sub process { | |||
3850 | # check for memory barriers without a comment. | 3850 | # check for memory barriers without a comment. |
3851 | if ($line =~ /\b(mb|rmb|wmb|read_barrier_depends|smp_mb|smp_rmb|smp_wmb|smp_read_barrier_depends)\(/) { | 3851 | if ($line =~ /\b(mb|rmb|wmb|read_barrier_depends|smp_mb|smp_rmb|smp_wmb|smp_read_barrier_depends)\(/) { |
3852 | if (!ctx_has_comment($first_line, $linenr)) { | 3852 | if (!ctx_has_comment($first_line, $linenr)) { |
3853 | CHK("MEMORY_BARRIER", | 3853 | WARN("MEMORY_BARRIER", |
3854 | "memory barrier without comment\n" . $herecurr); | 3854 | "memory barrier without comment\n" . $herecurr); |
3855 | } | 3855 | } |
3856 | } | 3856 | } |
3857 | # check of hardware specific defines | 3857 | # check of hardware specific defines |