From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tony Lindgren Subject: Re: [PATCH] OMAPDSS: fix return value check in create_dss_pdev() Date: Mon, 8 Oct 2012 14:32:12 -0700 Message-ID: <20121008213212.GP13011@atomide.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mho-03-ewr.mailhop.org ([204.13.248.66]:41223 "EHLO mho-01-ewr.mailhop.org" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1750923Ab2JHVcS (ORCPT ); Mon, 8 Oct 2012 17:32:18 -0400 Content-Disposition: inline In-Reply-To: Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: Wei Yongjun Cc: linux@arm.linux.org.uk, yongjun_wei@trendmicro.com.cn, linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org * Wei Yongjun [120920 23:29]: > From: Wei Yongjun > > In case of error, the function omap_device_alloc() returns ERR_PTR() > not NULL pointer. The NULL test in the return value check should > be replaced with IS_ERR(). Thanks applying into omap fixes. Regards, Tony