Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1545390

[PATCH] checkpatch: stop worrying about include/asm/

From Paul Bolle <pebolle@tiscali.nl>
Newsgroups linux.kernel
Subject [PATCH] checkpatch: stop worrying about include/asm/
Date 2016-12-20 20:20 +0100
Message-ID <sQy78-1ef-39@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


include/asm/ got removed in v1.1.45. Two decades later it's about time
to stop worrying whether patches still touch it.

Signed-off-by: Paul Bolle <pebolle@tiscali.nl>
---
Lightly tested.

 scripts/checkpatch.pl | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index a8368d1c4348..4975f251ba80 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -2333,11 +2333,6 @@ sub process {
 				WARN("PATCH_PREFIX",
 				     "patch prefix '$p1_prefix' exists, appears to be a -p0 patch\n");
 			}
-
-			if ($realfile =~ m@^include/asm/@) {
-				ERROR("MODIFIED_INCLUDE_ASM",
-				      "do not modify files in include/asm, change architecture specific files in include/asm-<architecture>\n" . "$here$rawline\n");
-			}
 			$found_file = 1;
 		}
 
-- 
2.7.4

Back to linux.kernel | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

[PATCH] checkpatch: stop worrying about include/asm/ Paul Bolle <pebolle@tiscali.nl> - 2016-12-20 20:20 +0100
  Re: [PATCH] checkpatch: stop worrying about include/asm/ Joe Perches <joe@perches.com> - 2016-12-20 21:00 +0100

csiph-web