[PATCH] cxl: Fix error handling

Andrew Donnellan andrew.donnellan at au1.ibm.com
Mon Oct 31 17:27:57 AEDT 2016


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.jaillet at wanadoo.fr>

Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>

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

Builds for me.


-- 
Andrew Donnellan              OzLabs, ADL Canberra
andrew.donnellan at au1.ibm.com  IBM Australia Limited



More information about the Linuxppc-dev mailing list