]> git.baikalelectronics.ru Git - kernel.git/commit
checkpatch: fix left brace warning
authorEddie Kovsky <ewk@edkovsky.org>
Wed, 9 Sep 2015 22:37:52 +0000 (15:37 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 10 Sep 2015 20:29:01 +0000 (13:29 -0700)
commit4b09bf29b2163e4374d30f31b44bd6ea6b6646cb
treec41b7ac401088fc41450bb6c7bdaf8e6a2accb2d
parentec5fe333643a938df0ca5c677859e8e8a13d18d1
checkpatch: fix left brace warning

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 <ewk@edkovsky.org>
Cc: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/checkpatch.pl