Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754726Ab3DQEtY (ORCPT ); Wed, 17 Apr 2013 00:49:24 -0400 Received: from ch1ehsobe005.messaging.microsoft.com ([216.32.181.185]:17266 "EHLO ch1outboundpool.messaging.microsoft.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752623Ab3DQEtX (ORCPT ); Wed, 17 Apr 2013 00:49:23 -0400 X-Forefront-Antispam-Report: CIP:70.37.183.190;KIP:(null);UIP:(null);IPV:NLI;H:mail.freescale.net;RD:none;EFVD:NLI X-SpamScore: -4 X-BigFish: VS-4(zz98dI9371Ic89bh542I1432I4015Izz1f42h1fc6h1ee6h1de0h1fdah1202h1e76h1d1ah1d2ahzz8275bhz2dh2a8h668h839h8e2h8e3h941hd25hf0ah1269h1288h12a5h12a9h12bdh12e1h137ah13b6h1441h1504h1537h153bh15d0h162dh1631h1758h18e1h1946h19b5h1ad9h1b0ahbe9i1155h) From: Tang Yuantian-B29983 To: Timur Tabi CC: Grant Likely , devicetree-discuss , "linuxppc-dev@lists.ozlabs.org" , lkml , Rob Herring Subject: RE: [PATCH v2] of/base: release the node correctly in of_parse_phandle_with_args() Thread-Topic: [PATCH v2] of/base: release the node correctly in of_parse_phandle_with_args() Thread-Index: AQHONaImIE34onvqCEuo3S6bpDZbgJjYwj+AgAD5nkCAABDAgIAAFZXA Date: Wed, 17 Apr 2013 04:49:20 +0000 Message-ID: References: <1365564999-24427-1-git-send-email-Yuantian.Tang@freescale.com> <516E1763.7040206@tabi.org> In-Reply-To: <516E1763.7040206@tabi.org> Accept-Language: zh-CN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.192.208.128] Content-Type: text/plain; charset="gb2312" MIME-Version: 1.0 X-OriginatorOrg: freescale.com Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from base64 to 8bit by mail.home.local id r3H4nUnI007179 Content-Length: 939 Lines: 29 > -----Original Message----- > From: Timur Tabi [mailto:timur@tabi.org] > Sent: 2013??4??17?? 11:31 > To: Tang Yuantian-B29983 > Cc: Grant Likely; devicetree-discuss; linuxppc-dev@lists.ozlabs.org; lkml; > Rob Herring > Subject: Re: [PATCH v2] of/base: release the node correctly in > of_parse_phandle_with_args() > > Tang Yuantian-B29983 wrote: > >> >On Tue, Apr 9, 2013 at 10:36 PM, wrote: > >>> > > > >>> > >+ /* Found it! return success */ > >> > > >> >I'm pretty sure this comment is in the wrong place. > > > It is not perfect, but acceptable. > > Like I said, I'm pretty sure it's in the wrong place. > It was placed on ELSE statement originally, I moved it to IF statement. Why is it so wrong? Thanks, Yuantian ????{.n?+???????+%?????ݶ??w??{.n?+????{??G?????{ay?ʇڙ?,j??f???h?????????z_??(?階?ݢj"???m??????G????????????&???~???iO???z??v?^?m???? ????????I?