Re: [BUG] checkpatch: unescaped left brace in regex is deprecated

From: Joe Perches
Date: Mon Dec 07 2015 - 18:08:55 EST


On Mon, 2015-12-07 at 19:53 -0300, Geyslan G. Bem wrote:
> Hello,

hello.

> Follow checkpatch output using perl 5.22.0.
>
> geyslan@hb ~/Projects/linux $ scripts/checkpatch.pl -f
> drivers/usb/host/ehci-hub.c
> Unescaped left brace in regex is deprecated, passed through in regex;
> marked by <-- HERE in m/\((?^x:
>

No HERE here.  Are you using linux-next?

There have been patches applied for this warning already.

see:

commit 4e5d56bdf892e18832a6540b63ebf709966bce2a
Author: Eddie Kovsky <ewk@xxxxxxxxxxxx>
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;
 5.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/