checkpatch: fix left brace warning
authorHeiko Schocher <hs@denx.de>
Mon, 4 Jan 2016 08:17:19 +0000 (09:17 +0100)
committerTom Rini <trini@konsulko.com>
Mon, 4 Jan 2016 17:25:29 +0000 (12:25 -0500)
commitd8a1a304ef585795a217ce8e13514eebfb8279ee
tree90d1c1d977a3cc01b85feba22bdc13f7dc91ef7d
parent1aa2d074a7acda61eb43e654ced21c139703633c
checkpatch: fix left brace warning

using checkpatch with Perl 5.22.0 generates a warning,
this is fixed in linux through commit:

commit 4e5d56bdf892e18832a6540b63ebf709966bce2a
Author: Eddie Kovsky <ewk@edkovsky.org>
Date:   Wed Sep 9 15:37:52 2015 -0700

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.

Adapt it for U-Boot.

Signed-off-by: Heiko Schocher <hs@denx.de>
scripts/checkpatch.pl