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
  • kernel
  • fail_function.c
Find file BlameHistoryPermalink
  • Yang Yingliang's avatar
    fail_function: fix wrong use of fei_attr_remove() · d2e85432
    Yang Yingliang authored Aug 26, 2022
    If register_kprobe() fails, the new attr is not added to the list yet, so
    it should call fei_attr_free() intstead.
    
    Link: https://lkml.kernel.org/r/20220826073337.2085798-3-yangyingliang@huawei.com
    Fixes: 4b1a29a7
    
     ("error-injection: Support fault injection framework")
    Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
    Reviewed-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    d2e85432
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7