From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gate.crashing.org (gate.crashing.org [63.228.1.57]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id A22C3DDDD4 for ; Mon, 13 Oct 2008 13:46:06 +1100 (EST) Subject: Re: [PATCH 7/16] xics: initialization cleanups From: Benjamin Herrenschmidt To: Milton Miller In-Reply-To: References: Content-Type: text/plain Date: Mon, 13 Oct 2008 11:55:04 +1100 Message-Id: <1223859304.8157.207.camel@pasglop> Mime-Version: 1.0 Cc: linuxppc-dev@ozlabs.org, Paul Mackerras Reply-To: benh@kernel.crashing.org List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , > static void __init xics_init_one_node(struct device_node *np, > @@ -700,8 +694,10 @@ void __init xics_init_IRQ(void) > > for_each_node_by_type(np, "PowerPC-External-Interrupt-Presentation") { > found = 1; > - if (firmware_has_feature(FW_FEATURE_LPAR)) > + if (firmware_has_feature(FW_FEATURE_LPAR)) { > + of_node_put(np); > break; > + } Little tab damage up here... no big deal. > xics_init_one_node(np, &indx); > } > if (found == 0