Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • scripts
  • checkpatch.pl
Find file BlameHistoryPermalink
  • Geyslan G. Bem's avatar
    checkpatch: fix another left brace warning · 6b8c69e4
    Geyslan G. Bem authored Mar 15, 2016
    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: default avatarGeyslan G. Bem <geyslan@gmail.com>
    Signed-off-by: default avatarJoe Perches <joe@perches.com>
    Suggested-by: default avatarPeter Senna Tschudin <peter.senna@gmail.com>
    Cc: Eddie Kovsky <ewk@edkovsky.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    6b8c69e4
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7