commit | 090bc267ea1013bbb33778b343b4acd78b9c5d9b | [log] [tgz] |
---|---|---|
author | LABBE Corentin <clabbe.montjoie@gmail.com> | Thu Nov 12 08:43:33 2015 +0100 |
committer | Peter Chen <peter.chen@freescale.com> | Wed Nov 18 15:27:12 2015 +0800 |
tree | 8ca3e39ef4e034b5f4fa1907bd43030819b9a75d | |
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>