[U-Boot] [PATCH] checkpatch.pl: Fix checkpatch.pl warnings with Perl 5.22

Joe Hershberger joe.hershberger at gmail.com
Thu Sep 3 22:46:24 CEST 2015


Hi Moritz,

On Thu, Sep 3, 2015 at 2:25 PM, Moritz Fischer <moritz.fischer at ettus.com> wrote:
> This patch fixes a bunch of deprecation warings that show up when using
> checkpatch.pl with Perl 5.22.
>
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/\#\s*define.*do\s{ <-- HERE / at
> ./scripts/checkpatch.pl line 2829.
>
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/\(.*\){ <-- HERE / at
> ./scripts/checkpatch.pl line 3262.
>
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/do{ <-- HERE / at
> ./scripts/checkpatch.pl line 3263.
>
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/^\({ <-- HERE / at
> ./scripts/checkpatch.pl line 3636.
>
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/(?^x:
>
> Signed-off-by: Moritz Fischer <moritz.fischer at ettus.com>

Please submit this and have it accepted in the Linux tree. We will
then pull it in here once it is accepted there.

Thanks,
-Joe


More information about the U-Boot mailing list