Re: [PATCH] checkpatch: fix left brace warning

2016-01-26 Thread Geyslan G. Bem
Hello, 2015-12-30 12:49 GMT-03:00 Geyslan G. Bem : > This patch escapes a regex that uses left brace. > > Using checkpatch.pl with Perl 5.22.0 generates the warning: "Unescaped > left brace in regex is deprecated, passed through in regex;" > > Comment from regcomp.c in Perl source: "Currently we d

[PATCH] checkpatch: fix left brace warning

2015-12-30 Thread Geyslan G. Bem
This patch escapes a regex that uses left brace. Using checkpatch.pl with Perl 5.22.0 generates the warning: "Unescaped left brace in regex is deprecated, passed through in regex;" Comment from regcomp.c in Perl source: "Currently we don't warn when the lbrace is at the start of a construct. This

Re: [PATCH] checkpatch: Fix left brace warning

2015-08-06 Thread Joe Perches
On Wed, 2015-08-05 at 15:28 -0600, Eddie Kovsky wrote: > Using checkpatch.pl with Perl 5.22.0 generates the following warning: > > Unescaped left brace in regex is deprecated, passed through in regex; Valdis Kletnieks sent a fix for this awhile ago: https://lkml.org/lkml/2015/7/8/1049 Andre

[PATCH] checkpatch: Fix left brace warning

2015-08-05 Thread Eddie Kovsky
Using checkpatch.pl with Perl 5.22.0 generates the following warning: Unescaped left brace in regex is deprecated, passed through in regex; This patch fixes the warnings by escaping occurrences of the left brace inside the regular expression. Signed-off-by: Eddie Kovsky --- scripts/checkpa