summaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorLABBE Corentin <clabbe.montjoie@gmail.com>2015-11-12 07:43:33 (GMT)
committerPeter Chen <peter.chen@freescale.com>2015-11-18 07:27:12 (GMT)
commit090bc267ea1013bbb33778b343b4acd78b9c5d9b (patch)
tree8ca3e39ef4e034b5f4fa1907bd43030819b9a75d /lib/memory-notifier-error-inject.c
parent85da852df66e5e0d3aba761b0fece7c958ff0685 (diff)
downloadlinux-090bc267ea1013bbb33778b343b4acd78b9c5d9b.tar.xz
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 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions