diff options
author | LABBE Corentin | 2015-11-12 08:43:33 +0100 |
---|---|---|
committer | Peter Chen | 2015-11-18 15:27:12 +0800 |
commit | 090bc267ea1013bbb33778b343b4acd78b9c5d9b (patch) | |
tree | 8ca3e39ef4e034b5f4fa1907bd43030819b9a75d /drivers/dma/pl330.c | |
parent | 85da852df66e5e0d3aba761b0fece7c958ff0685 (diff) |
usb: chipidea: usbmisc_imx: fix a possible NULL dereference
of_match_device could return NULL, and so cause a NULL pointer
dereference later. Renaming tmp_dev to of_id (like all others do) in the
process.
Reported-by: coverity (CID 1324135)
Signed-off-by: LABBE Corentin <clabbe.montjoie@gmail.com>
Signed-off-by: Peter Chen <peter.chen@freescale.com>
Diffstat (limited to 'drivers/dma/pl330.c')
0 files changed, 0 insertions, 0 deletions