Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754912AbcKVAeX (ORCPT ); Mon, 21 Nov 2016 19:34:23 -0500 Received: from ozlabs.org ([103.22.144.67]:59329 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753937AbcKVAeV (ORCPT ); Mon, 21 Nov 2016 19:34:21 -0500 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: bb81733de28c99e10b61dcaff1592142abe53442 In-Reply-To: <20161030214047.25037-1-christophe.jaillet@wanadoo.fr> To: Christophe Jaillet , imunsie@au1.ibm.com, fbarrat@linux.vnet.ibm.com From: Michael Ellerman Cc: kernel-janitors@vger.kernel.org, Christophe JAILLET , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: Re: cxl: Fix error handling Message-Id: <3tN60q2VZNz9s3s@ozlabs.org> Date: Tue, 22 Nov 2016 11:34:19 +1100 (AEDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 511 Lines: 14 On Sun, 2016-10-30 at 21:40:47 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 > Reviewed-by: Andrew Donnellan > Acked-by: Frederic Barrat > Acked-by: Ian Munsie Applied to powerpc next, thanks. https://git.kernel.org/powerpc/c/bb81733de28c99e10b61dcaff15921 cheers