On 31/10/16 08:40, Christophe JAILLET wrote:
'cxl_dev_context_init()' returns an error pointer in case of error, not
NULL. So test it with IS_ERR.

Signed-off-by: Christophe JAILLET <christophe.jail...@wanadoo.fr>

Reviewed-by: Andrew Donnellan <andrew.donnel...@au1.ibm.com>

---
un-compiled because I don't have the required  cross build environment.

Builds for me.


--
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnel...@au1.ibm.com  IBM Australia Limited

Reply via email to