summaryrefslogtreecommitdiff
path: root/drivers/nfc/pn533/i2c.c
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2016-12-21 00:09:04 +0300
committerSamuel Ortiz <sameo@linux.intel.com>2017-04-02 01:36:12 +0300
commitb6355fb3f5f40bbce165847d277e64896cab8f95 (patch)
tree6cc32a24790fb4f29418cd83a2e1f11702b6485a /drivers/nfc/pn533/i2c.c
parentce69b95ca4e459f54b5afad717d2129d3ba1ff6e (diff)
downloadlinux-b6355fb3f5f40bbce165847d277e64896cab8f95.tar.xz
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