aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorKangjie Lu <[email protected]>2019-03-15 02:07:12 -0500
committerGreg Kroah-Hartman <[email protected]>2019-03-28 01:28:23 +0900
commit1bbb1c318cd8a3a39e8c3e2e83d5e90542d6c3e3 (patch)
tree9b2823d0e57404a05ad09065eed8650df3790ff3 /drivers/usb/cdns3/cdns3-ti.c
parentcf90c06f8115016fa4a94644a26a4ba093f0055e (diff)
tty: ipwireless: fix missing checks for ioremap
ipw->attr_memory and ipw->common_memory are assigned with the return value of ioremap. ioremap may fail, but no checks are enforced. The fix inserts the checks to avoid potential NULL pointer dereferences. Signed-off-by: Kangjie Lu <[email protected]> Reviewed-by: David Sterba <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions