Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Signed-off-by: Peter Chen <[email protected]>
- Loading branch information