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
  • Aditya Srivastava's avatar
    checkpatch: add fix and improve warning msg for non-standard signature · 831242ab
    Aditya Srivastava authored Dec 15, 2020
    Currently checkpatch warns for BAD_SIGN_OFF on non-standard signature
    styles.
    
    A large number of these warnings occur because of typo mistakes in
    signature tags.  An evaluation over v4.13..v5.8 showed that out of 539
    warnings due to non-standard signatures, 87 are due to typo mistakes.
    
    Following are the standard signature tags which are often incorrectly
    used, along with their individual counts of incorrect use (over
    v4.13..v5.8):
    
     Reviewed-by: 42
     Signed-off-by: 25
     Reported-by: 6
     Acked-by: 4
     Tested-by: 4
     Suggested-by: 4
    
    Provide a fix by calculating levenshtein distance for the signature tag
    with all the standard signatures and suggest a fix with a signature, whose
    edit distance is less than or equal to 2 with the misspelled signature.
    
    Out of the 86 mispelled signatures fixed with this approach, 85 were found
    to be good corrections and 1 was bad correction.
    
    Following was found to be a bad correction:
     Tweeted-by (count: 1) => Tested-by
    
    Link: https://lkml.kernel.org/r/20201128204333.7054-1-yashsri421@gmail.com
    
    
    Signed-off-by: default avatarAditya Srivastava <yashsri421@gmail.com>
    Acked-by: default avatarJoe Perches <joe@perches.com>
    Cc: Lukas Bulwahn <lukas.bulwahn@gmail.com>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    831242ab
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7