From mboxrd@z Thu Jan 1 00:00:00 1970 From: tony@atomide.com (Tony Lindgren) Date: Mon, 8 Oct 2012 14:32:12 -0700 Subject: [PATCH] OMAPDSS: fix return value check in create_dss_pdev() In-Reply-To: References: Message-ID: <20121008213212.GP13011@atomide.com> To: linux-arm-kernel@lists.infradead.org List-Id: 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