Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932398Ab1CRTfI (ORCPT ); Fri, 18 Mar 2011 15:35:08 -0400 Received: from e3.ny.us.ibm.com ([32.97.182.143]:53096 "EHLO e3.ny.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932223Ab1CRTe5 (ORCPT ); Fri, 18 Mar 2011 15:34:57 -0400 Date: Sat, 19 Mar 2011 00:58:11 +0530 From: Srikar Dronamraju To: Stephen Wilson Cc: Peter Zijlstra , Ingo Molnar , Steven Rostedt , Linux-mm , Arnaldo Carvalho de Melo , Linus Torvalds , Masami Hiramatsu , Christoph Hellwig , Ananth N Mavinakayanahalli , Andi Kleen , Oleg Nesterov , Andrew Morton , Jim Keniston , Roland McGrath , SystemTap , LKML , "Paul E. McKenney" Subject: Re: [PATCH v2 2.6.38-rc8-tip 16/20] 16: uprobes: register a notifier for uprobes. Message-ID: <20110318192811.GE31152@linux.vnet.ibm.com> Reply-To: Srikar Dronamraju References: <20110314133403.27435.7901.sendpatchset@localhost6.localdomain6> <20110314133708.27435.81257.sendpatchset@localhost6.localdomain6> <20110315195636.GB24972@fibrous.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20110315195636.GB24972@fibrous.localdomain> User-Agent: Mutt/1.5.20 (2009-06-14) X-Content-Scanned: Fidelis XPS MAILER Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 766 Lines: 25 * Stephen Wilson [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 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/