diff options
author | Sudip Mukherjee <sudipm.mukherjee@gmail.com> | 2016-12-20 21:09:04 +0000 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2017-04-02 00:36:12 +0200 |
commit | b6355fb3f5f40bbce165847d277e64896cab8f95 (patch) | |
tree | 6cc32a24790fb4f29418cd83a2e1f11702b6485a /drivers/nfc/pn533/i2c.c | |
parent | ce69b95ca4e459f54b5afad717d2129d3ba1ff6e (diff) |
nfc: fdp: fix NULL pointer dereference
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@codethink.co.uk>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'drivers/nfc/pn533/i2c.c')
0 files changed, 0 insertions, 0 deletions