[PATCH] OMAPDSS: fix return value check in create_dss_pdev()

Tony Lindgren tony at atomide.com
Mon Oct 8 17:32:12 EDT 2012


* Wei Yongjun <weiyj.lk at gmail.com> [120920 23:29]:
> From: Wei Yongjun <yongjun_wei at trendmicro.com.cn>
> 
> 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



More information about the linux-arm-kernel mailing list