Re: [PATCH] scripts/checkpatch.pl - fix *_NOTIFIER_HEAD handling

2019-08-08 Thread Joe Perches
On Thu, 2019-08-08 at 02:08 -0400, Valdis Klētnieks wrote: > On Wed, 07 Aug 2019 22:50:47 -0700, Joe Perches said: > > On Wed, 2019-08-07 at 21:36 -0400, Valdis Kltnieks wrote: > > > ^.DEFINE_$Ident\(\Q$name\E\)| > > > ^.DECLARE_$Ident\(\Q$name\E\

Re: [PATCH] scripts/checkpatch.pl - fix *_NOTIFIER_HEAD handling

2019-08-07 Thread Joe Perches
On Thu, 2019-08-08 at 02:08 -0400, Valdis Klētnieks wrote: > On Wed, 07 Aug 2019 22:50:47 -0700, Joe Perches said: > > On Wed, 2019-08-07 at 21:36 -0400, Valdis Kltnieks wrote: > > > ^.DEFINE_$Ident\(\Q$name\E\)| > > > ^.DECLARE_$Ident\(\Q$name\E\

Re: [PATCH] scripts/checkpatch.pl - fix *_NOTIFIER_HEAD handling

2019-08-07 Thread Valdis Klētnieks
On Wed, 07 Aug 2019 22:50:47 -0700, Joe Perches said: > On Wed, 2019-08-07 at 21:36 -0400, Valdis Klētnieks wrote: > > ^.DEFINE_$Ident\(\Q$name\E\)| > > ^.DECLARE_$Ident\(\Q$name\E\)| > > ^.LIST_HEAD\(\Q$name\E\)|

Re: [PATCH] scripts/checkpatch.pl - fix *_NOTIFIER_HEAD handling

2019-08-07 Thread Joe Perches
On Wed, 2019-08-07 at 21:36 -0400, Valdis Klētnieks wrote: > commit 81398d99e9de80d9dbe65dfe7aadec9497f88242 > Author: Gilad Ben-Yossef > Date: Wed Jul 31 14:44:23 2019 +1000 > > checkpatch: add *_NOTIFIER_HEAD as var definition > > has a typo, resulting in a truly amazing error message:

[PATCH] scripts/checkpatch.pl - fix *_NOTIFIER_HEAD handling

2019-08-07 Thread Valdis Klētnieks
commit 81398d99e9de80d9dbe65dfe7aadec9497f88242 Author: Gilad Ben-Yossef Date: Wed Jul 31 14:44:23 2019 +1000 checkpatch: add *_NOTIFIER_HEAD as var definition has a typo, resulting in a truly amazing error message: Unescaped left brace in regex is passed through in regex; marked by <-- H