Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S936223AbcLTTLT (ORCPT ); Tue, 20 Dec 2016 14:11:19 -0500 Received: from lb1-smtp-cloud2.xs4all.net ([194.109.24.21]:41522 "EHLO lb1-smtp-cloud2.xs4all.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758274AbcLTTJw (ORCPT ); Tue, 20 Dec 2016 14:09:52 -0500 From: Paul Bolle To: Andy Whitcroft , Joe Perches Cc: linux-kernel@vger.kernel.org Subject: [PATCH] checkpatch: stop worrying about include/asm/ Date: Tue, 20 Dec 2016 20:09:47 +0100 Message-Id: <1482260987-21457-1-git-send-email-pebolle@tiscali.nl> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 815 Lines: 28 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 --- 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-\n" . "$here$rawline\n"); - } $found_file = 1; } -- 2.7.4