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
  • coccicheck
Find file BlameHistoryPermalink
  • Denis Efremov's avatar
    coccicheck: return proper error code on fail · 512ddf7d
    Denis Efremov authored Aug 10, 2018
    
    
    If coccicheck fails, it should return an error code distinct from zero
    to signal about an internal problem. Current code instead of exiting with
    the tool's error code returns the error code of 'echo "coccicheck failed"'
    which is almost always equals to zero, thus failing the original intention
    of alerting about a problem. This patch fixes the code.
    
    Found by Linux Driver Verification project (linuxtesting.org).
    
    Signed-off-by: default avatarDenis Efremov <efremov@linux.com>
    Acked-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
    Signed-off-by: default avatarMasahiro Yamada <yamada.masahiro@socionext.com>
    512ddf7d
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7