From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pa0-x22c.google.com ([2607:f8b0:400e:c03::22c]) by merlin.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1VeJsN-0007Wb-BT for linux-mtd@lists.infradead.org; Thu, 07 Nov 2013 07:19:36 +0000 Received: by mail-pa0-f44.google.com with SMTP id fb1so192537pad.31 for ; Wed, 06 Nov 2013 23:19:13 -0800 (PST) Date: Wed, 6 Nov 2013 23:19:09 -0800 From: Brian Norris To: "Gupta, Pekon" Subject: Re: [PATCH -next] mtd: nand: omap: fix error return code in omap_nand_probe() Message-ID: <20131107071909.GB3805@norris.computersforpeace.net> References: <001101ced6a8$a18a2c80$e49e8580$%han@samsung.com> <20980858CB6D3A4BAE95CA194937D5E73EA31818@DBDE04.ent.ti.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20980858CB6D3A4BAE95CA194937D5E73EA31818@DBDE04.ent.ti.com> Cc: Wei Yongjun , "tony@atomide.com" , Artem Bityutskiy , Jingoo Han , Linux Kernel , Daniel Mack , "yongjun_wei@trendmicro.com.cn" , "avinashphilip@ti.com" , "linux-mtd@lists.infradead.org" , David Woodhouse List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Wed, Nov 06, 2013 at 06:06:25PM +0000, Pekon Gupta wrote: > > From: Brian Norris [mailto:computersforpeace@gmail.com] > > > On Thu, Oct 31, 2013 at 7:18 PM, Jingoo Han > > >> From: Wei Yongjun > > >> > > >> Fix to return a negative error code from the error handling > > >> case instead of 0, as done elsewhere in this function. > > > > > > Commit message is right? :-( > > > > It sounds OK by my reading. Unless you're having trouble parsing what > > "as done elsewhere in this function" is being applied to. (IOW, is the > > rest of the function returning a negative error code on the error > > paths, or is it returning 0? Of course the answer is the former, but > > it's possible to misread it.) If it helps, I can try to tweak the > > wording a bit when applying this patch. > > > > Pekon, can I get an Acked-by? > > > Yes sure .. Sorry I was away from both mailbox and boards. No problem. > Acked-by: Pekon Gupta > > And thanks much Wei Yongjun for fixing this . Thanks. Pushed to l2-mtd.git with a slight tweak in the description. Brian