Merge "Revert "checkpatch: Add exceptions for "dsb" keyword usage""

This commit is contained in:
qctecmdr 2019-08-08 10:33:20 -07:00 • committed by Gerrit - the friendly Code Review server
commit 174ca8ce34

View file

@ -5714,7 +5714,7 @@ sub process {
}
# dsb is too ARMish, and should usually be mb.
if ($line =~ /[^-_>*\.]\bdsb\b[^-_\.;]/) {
if ($line =~ /\bdsb\b/) {
WARN("ARM_BARRIER",
"Use of dsb is discouranged: prefer mb.\n" .
$herecurr);