mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
Revert "checkpatch: close filp_open loophole."
This reverts commit 54678ad02c.
Change-Id: I14a32c6c446026769e3d27f0d04b10d0d141b27d
Signed-off-by: Hepson Sanchez <sanchez@codeaurora.org>
This commit is contained in:
parent
6805c63590
commit
06ad363d44
1 changed files with 0 additions and 7 deletions
|
|
@ -5686,13 +5686,6 @@ sub process {
|
|||
$herecurr);
|
||||
}
|
||||
|
||||
# filp_open is a backdoor for sys_open
|
||||
if ($line =~ /\b(filp_open)\b/) {
|
||||
ERROR("FILE_OPS",
|
||||
"$1 is inappropriate in kernel code.\n" .
|
||||
$herecurr);
|
||||
}
|
||||
|
||||
# read[bwl] & write[bwl] use too many barriers, use the _relaxed variants
|
||||
if ($line =~ /\b((?:read|write)[bwl])\b/) {
|
||||
ERROR("NON_RELAXED_IO",
|
||||
|
|
|
|||
Loading…
Reference in a new issue