aboutsummaryrefslogtreecommitdiffstats
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorGeyslan G. Bem <[email protected]>2016-03-15 21:58:09 +0000
committerLinus Torvalds <[email protected]>2016-03-15 23:55:16 +0000
commit6b8c69e4384b0bcf1936c2137804840212daaf69 (patch)
treef6661ee36fa66d25e1a21c9612ddbb1ff59e0601 /lib/string_helpers.c
parentcheckpatch: improve UNSPECIFIED_INT test for bare signed/unsigned uses (diff)
downloadkernel-6b8c69e4384b0bcf1936c2137804840212daaf69.tar.gz
kernel-6b8c69e4384b0bcf1936c2137804840212daaf69.zip
checkpatch: fix another left brace warning
This patch escapes a regex that uses left brace. Using checkpatch.pl with Perl 5.22.0 generates the warning: "Unescaped left brace in regex is deprecated, passed through in regex;" Comment from regcomp.c in Perl source: "Currently we don't warn when the lbrace is at the start of a construct. This catches it in the middle of a literal string, or when it's the first thing after something like "\b"." This works as a complement to 4e5d56bd ("checkpatch: fix left brace warning"). Signed-off-by: Geyslan G. Bem <[email protected]> Signed-off-by: Joe Perches <[email protected]> Suggested-by: Peter Senna Tschudin <[email protected]> Cc: Eddie Kovsky <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions