Re: cxl: Fix error handling
From: Michael Ellerman
Date: Mon Nov 21 2016 - 19:34:37 EST
On Sun, 2016-10-30 at 21:34:51 UTC, 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>
> Acked-by: Frederic Barrat <fbarrat@xxxxxxxxxxxxxxxxxx>
> Acked-by: Ian Munsie <imunsie@xxxxxxxxxxx>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/28e323e5a0b21b3665eb6e136ca8bb
cheers