From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752098AbdDAWhL (ORCPT ); Sat, 1 Apr 2017 18:37:11 -0400 Received: from mga05.intel.com ([192.55.52.43]:54575 "EHLO mga05.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751997AbdDAWhJ (ORCPT ); Sat, 1 Apr 2017 18:37:09 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.36,259,1486454400"; d="scan'208";a="1114442674" Date: Sun, 2 Apr 2017 00:37:06 +0200 From: Samuel Ortiz To: Sudip Mukherjee Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org Subject: Re: [PATCH] nfc: fdp: fix NULL pointer dereference Message-ID: <20170401223706.GI22034@zurbaran.ger.intel.com> References: <1482268144-14028-1-git-send-email-sudipm.mukherjee@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1482268144-14028-1-git-send-email-sudipm.mukherjee@gmail.com> User-Agent: Mutt/1.7.1 (2016-10-04) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Sudip, On Tue, Dec 20, 2016 at 09:09:04PM +0000, Sudip Mukherjee wrote: > We are checking phy after dereferencing it. We can print the debug > information after checking it. If phy is NULL then we will get a good > stack trace to tell us that we are in this irq handler. > > Signed-off-by: Sudip Mukherjee > --- > drivers/nfc/fdp/i2c.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) Applied to nfc-next, thanks. Cheers, Samuel.