mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
Revert "checkpatch: reject unrelaxed readl/writel."
This reverts commit 66b2a3733e7219e5291c633eb5778bec6500b74d. Possibly can happen after necessary code changes are in place. Change-Id: I04e092158dda2b5f5ca029378d1e7dc863de6001 Signed-off-by: David Brown <davidb@codeaurora.org> (cherry picked from commit 4235f0aeb789321b36eb01f29ffb329fc9d2169c)
This commit is contained in:
parent
31fbea03d9
commit
d0d4b63246
1 changed files with 0 additions and 7 deletions
|
@ -3219,13 +3219,6 @@ sub process {
|
|||
"Use of volatile is usually wrong: see Documentation/volatile-considered-harmful.txt\n" . $herecurr);
|
||||
}
|
||||
|
||||
# readl & writel are unsafe, use the _relaxed variants
|
||||
if ($line =~ /\b((?:read|write)l)\b/) {
|
||||
ERROR("Use of $1 is deprecated: use $1_relaxed\n\t" .
|
||||
"with appropriate memory barriers instead.\n" .
|
||||
$herecurr);
|
||||
}
|
||||
|
||||
# warn about #if 0
|
||||
if ($line =~ /^.\s*\#\s*if\s+0\b/) {
|
||||
WARN("if this code is redundant consider removing it\n"
|
||||
|
|
Loading…
Reference in a new issue