From 216e7ad2d347cfc9347f0e9bb6d8a0271c2a2b9e Mon Sep 17 00:00:00 2001 From: Hepson Sanchez Date: Wed, 10 Jul 2019 13:59:42 -0700 Subject: [PATCH] Revert "checkpatch: Add exceptions for "dsb" keyword usage" This reverts commit d2236acdd7e9976ac423b4aa9261b95621384aa7. Change-Id: I6acc96638949aa724af623dbd4aa9d6e95f8a518 Signed-off-by: Hepson Sanchez --- scripts/checkpatch.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl index d46ba0c6264e..8a074dd3bc08 100755 --- a/scripts/checkpatch.pl +++ b/scripts/checkpatch.pl @@ -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);