[PATCH 1/1] checkpatch: revert broken NOTIFIER_HEAD check

From: john . hubbard
Date: Sun Aug 11 2019 - 18:55:01 EST

From: John Hubbard <jhubbard@xxxxxxxxxx>

commit 1a47005dd5aa ("checkpatch: add *_NOTIFIER_HEAD as var
definition") causes the following warning when run on some

Unescaped left brace in regex is passed through in regex;
marked by < --HERE in m/(?:
[238 lines of appalling perl output, mercifully not included]
)/ at ./scripts/checkpatch.pl line 3889.

This is broken, so revert it until a better solution is found.

Fixes: 1a47005dd5aa ("checkpatch: add *_NOTIFIER_HEAD as var

Cc: Andy Whitcroft <apw@xxxxxxxxxxxxx>
Cc: Joe Perches <joe@xxxxxxxxxxx>
Cc: Gilad Ben-Yossef <gilad@xxxxxxxxxxxxx>
Cc: Ofir Drang <ofir.drang@xxxxxxx>
Cc: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
Signed-off-by: John Hubbard <jhubbard@xxxxxxxxxx>
scripts/checkpatch.pl | 1 -
1 file changed, 1 deletion(-)

diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 1cdacb4fd207..9fc206ab3c0c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -3891,7 +3891,6 @@ sub process {
- ^.{$Ident}_NOTIFIER_HEAD\(\Q$name\E\)|
)/x) {