diff options
author | LABBE Corentin <clabbe.montjoie@gmail.com> | 2015-11-12 07:43:33 (GMT) |
---|---|---|
committer | Peter Chen <peter.chen@freescale.com> | 2015-11-18 07:27:12 (GMT) |
commit | 090bc267ea1013bbb33778b343b4acd78b9c5d9b (patch) | |
tree | 8ca3e39ef4e034b5f4fa1907bd43030819b9a75d /kernel/acct.c | |
parent | 85da852df66e5e0d3aba761b0fece7c958ff0685 (diff) | |
download | linux-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 'kernel/acct.c')
0 files changed, 0 insertions, 0 deletions