Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756836AbbGGKiN (ORCPT ); Tue, 7 Jul 2015 06:38:13 -0400 Received: from ozlabs.org ([103.22.144.67]:52087 "EHLO ozlabs.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756710AbbGGKiE (ORCPT ); Tue, 7 Jul 2015 06:38:04 -0400 X-powerpc-patch-notification: thanks X-powerpc-patch-commit: 14f21189df33bc972455d6a0ed875aa68718d7fc In-Reply-To: <1435574111-45617-1-git-send-email-maninder1.s@samsung.com> To: Maninder Singh , imunsie@au1.ibm.com, mikey@neuling.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org From: Michael Ellerman Cc: Maninder Singh , pankaj.m@samsung.com Subject: Re: [1/1] cxl/vphb.c: Use phb pointer after NULL check Message-Id: <20150707103802.4FD821401EF@ozlabs.org> Date: Tue, 7 Jul 2015 20:38:02 +1000 (AEST) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 701 Lines: 19 On Mon, 2015-29-06 at 10:35:11 UTC, Maninder Singh wrote: > static Anlaysis detected below error:- > (error) Possible null pointer dereference: phb > > So, Use phb after NULL check. > > Signed-off-by: Maninder Singh > Acked-by: Ian Munsie Applied to powerpc fixes, thanks. https://git.kernel.org/cgit/linux/kernel/git/powerpc/linux.git/commit/?h=fixes&id=14f21189df33bc972455d6a0ed875aa68718d7fc cheers -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/