cxl: Fix error handling
Michael Ellerman
patch-notifications at ellerman.id.au
Tue Nov 22 11:34:18 AEDT 2016
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 at wanadoo.fr>
> Reviewed-by: Andrew Donnellan <andrew.donnellan at au1.ibm.com>
> Acked-by: Frederic Barrat <fbarrat at linux.vnet.ibm.com>
> Acked-by: Ian Munsie <imunsie at au1.ibm.com>
Applied to powerpc next, thanks.
https://git.kernel.org/powerpc/c/28e323e5a0b21b3665eb6e136ca8bb
cheers
More information about the Linuxppc-dev
mailing list