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
  • module.c
Find file BlameHistoryPermalink
  • Jason Baron's avatar
    dynamic debug: move ddebug_remove_module() down into free_module() · b82bab4b
    Jason Baron authored Jul 27, 2010
    
    
    The command
    
    	echo "file ec.c +p" >/sys/kernel/debug/dynamic_debug/control
    
    causes an oops.
    
    Move the call to ddebug_remove_module() down into free_module().  In this
    way it should be called from all error paths.  Currently, we are missing
    the remove if the module init routine fails.
    
    Signed-off-by: default avatarJason Baron <jbaron@redhat.com>
    Reported-by: default avatarThomas Renninger <trenn@suse.de>
    Tested-by: default avatarThomas Renninger <trenn@suse.de>
    Cc: <stable@kernel.org>		[2.6.32+]
    Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    b82bab4b
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7