lkml.org 
[lkml]   [2011]   [Mar]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2 2.6.38-rc8-tip 16/20] 16: uprobes: register a notifier for uprobes.
* Stephen Wilson <wilsons@start.ca> [2011-03-15 15:56:36]:

> On Mon, Mar 14, 2011 at 07:07:08PM +0530, Srikar Dronamraju wrote:
> > +static int __init init_uprobes(void)
> > +{
> > + register_die_notifier(&uprobes_exception_nb);
> > + return 0;
> > +}
> > +
>
> Although not currently needed, perhaps it would be best to return the
> result of register_die_notifier() ?
>

Okay, I can do that but notifier_chain_register() that gets called from
register_die_notifier() always return 0.

--
Thanks and Regards
Srikar


\
 
 \ /
  Last update: 2011-03-18 20:37    [W:0.195 / U:0.648 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site