[U-Boot] [PATCH] checkpatch: fix left brace warning

Wolfgang Denk wd at denx.de
Thu Jan 7 00:51:36 CET 2016


Dear Heiko Schocher,

In message <1451895439-20798-1-git-send-email-hs at denx.de> you wrote:
> using checkpatch with Perl 5.22.0 generates a warning,
> this is fixed in linux through commit:
> 
> commit 4e5d56bdf892e18832a6540b63ebf709966bce2a
> Author: Eddie Kovsky <ewk at 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 at denx.de>
> ---
> 
>  scripts/checkpatch.pl | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)

Acked-by: Wolfgang Denk <wd at denx.de>


More information about the U-Boot mailing list