Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 06ad363d authored by Hepson Sanchez's avatar Hepson Sanchez Committed by Elliot Berman
Browse files

Revert "checkpatch: close filp_open loophole."



This reverts commit 54678ad0.

Change-Id: I14a32c6c446026769e3d27f0d04b10d0d141b27d
Signed-off-by: default avatarHepson Sanchez <sanchez@codeaurora.org>
parent 6805c635
Loading
Loading
Loading
Loading
+0 −7
Original line number Diff line number Diff line
@@ -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",