Re: [PATCH] nfc: fdp: fix NULL pointer dereference

From: Samuel Ortiz
Date: Sat Apr 01 2017 - 18:37:13 EST


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 <sudip.mukherjee@xxxxxxxxxxxxxxx>
> ---
> drivers/nfc/fdp/i2c.c | 6 +++---
> 1 file changed, 3 insertions(+), 3 deletions(-)
Applied to nfc-next, thanks.

Cheers,
Samuel.