]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit4e5d56bdf892e18832a6540b63ebf709966bce2a
treec41b7ac401088fc41450bb6c7bdaf8e6a2accb2d
parentbf4daf12a9fbc818029051c97b65fbfca6366a44
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