From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.105.134] helo=mgw-mx09.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.72 #1 (Red Hat Linux)) id 1ONPJh-0004B3-As for linux-mtd@lists.infradead.org; Sat, 12 Jun 2010 11:56:01 +0000 Subject: Re: [PATCH 4/8] fs/ubifs: Use ERR_CAST From: Artem Bityutskiy To: Julia Lawall In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Date: Sat, 12 Jun 2010 14:53:28 +0300 Message-ID: <1276343608.19028.118.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: kernel-janitors@vger.kernel.org, linux-mtd@lists.infradead.org, linux-kernel@vger.kernel.org, Adrian Hunter Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sat, 2010-05-22 at 12:00 +0200, Julia Lawall wrote: > From: Julia Lawall > > Use ERR_CAST(x) rather than ERR_PTR(PTR_ERR(x)). The former makes more > clear what is the purpose of the operation, which otherwise looks like a > no-op. Pushed to the ubifs-2.6.git tree, thank you! -- Best Regards, Artem Bityutskiy (Артём Битюцкий)