Re: [PATCH] cxl: Fix error handling
From: Andrew Donnellan
Date: Mon Oct 31 2016 - 02:29:44 EST
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@xxxxxxxxxx>
Reviewed-by: Andrew Donnellan <andrew.donnellan@xxxxxxxxxxx>
---
un-compiled because I don't have the required cross build environment.
Builds for me.
--
Andrew Donnellan OzLabs, ADL Canberra
andrew.donnellan@xxxxxxxxxxx IBM Australia Limited