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
  • Chris Down's avatar
    checkpatch: don't warn about colon termination in linker scripts · 263afd39
    Chris Down authored Feb 25, 2021
    This check erroneously flags cases like the one in my recent printk
    enumeration patch[0], where the spaces are syntactic, and `section:' vs.
    `section :' is syntactically important:
    
        ERROR: space prohibited before that ':' (ctx:WxW)
        #258: FILE: include/asm-generic/vmlinux.lds.h:314:
        +       .printk_fmts : AT(ADDR(.printk_fmts) - LOAD_OFFSET) {
    
    0: https://lore.kernel.org/patchwork/patch/1375749/
    
    Link: https://lkml.kernel.org/r/YBwhqsc2TIVeid3t@chrisdown.name
    Link: https://lkml.kernel.org/r/YB6UsjCOy1qrrlSD@chrisdown.name
    
    
    Signed-off-by: default avatarChris Down <chris@chrisdown.name>
    Acked-by: default avatarJoe Perches <joe@perches.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    263afd39
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7