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
  • Łukasz Stelmach's avatar
    checkpatch: fix false positive on empty block comment lines · c70735c2
    Łukasz Stelmach authored Oct 15, 2020
    
    
    To avoid false positives in presence of SPDX-License-Identifier in
    networking files it is required to increase the leeway for empty block
    comment lines by one line.
    
    For example, checking drivers/net/loopback.c which starts with
    
        // SPDX-License-Identifier: GPL-2.0-or-later
        /*
         * INET          An implementation of the TCP/IP protocol suite for the LINUX
    
    rsults in an unnecessary warning
    
        WARNING: networking block comments don't use an empty /* line, use /* Comment...
        +/*
        + * INET                An implementation of the TCP/IP protocol suite for the LINUX
    
    Signed-off-by: default avatarŁukasz Stelmach <l.stelmach@samsung.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Acked-by: default avatarJoe Perches <joe@perches.com>
    Cc: Bartłomiej Żolnierkiewicz  <b.zolnierkie@samsung.co>
    Cc: Marek Szyprowski <m.szyprowski@samsung.com>
    Link: https://lkml.kernel.org/r/20201006083509.19934-1-l.stelmach@samsung.com
    
    
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    c70735c2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7