lkml.org 
[lkml]   [2016]   [Feb]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 1/2] ftrace/module: remove ftrace module notifier
On Thu, 4 Feb 2016 14:27:51 +0100
Petr Mladek <pmladek@suse.com> wrote:


> > + ftrace_module_enable(mod);
> > blocking_notifier_call_chain(&module_notify_list,
> > MODULE_STATE_COMING, mod);
> > return 0;
>
> Also we need to call ftrace_release_mod() in bug_cleanup:
> goto target in load_module(). Otherwise, it will stay
> enabled when, e.g. parse_args() fails.

Look farther down (after free_module:), it's already there.

-- Steve

\
 
 \ /
  Last update: 2016-02-04 16:01    [W:0.081 / U:0.732 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site