usb: dwc_otg: remove wrong memory accesses found by kasan
authorSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 17 Jan 2018 01:29:01 +0000 (10:29 +0900)
committerHoegeun Kwon <hoegeun.kwon@samsung.com>
Mon, 4 Nov 2019 09:00:55 +0000 (18:00 +0900)
commit25950c8fb5de1c199e187b272391a4feb1e2617b
tree1a064d40918892492b55e30ae6ff2c80f296b1d0
parent5589ad8c95884902c1bf99099e4a22fcfbeddf3a
usb: dwc_otg: remove wrong memory accesses found by kasan

dwc_otg_hcd_is_bandwidth_allocated() requres ep_hcpriv pointer,
but passed parameter is double pointer and it cuases bad memory
access. Remove the wrong memory accesses.

Change-Id: I8292613f16fbf91ed9736b2a97e4afdb3bbbccec
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
drivers/usb/host/dwc_otg/dwc_otg_hcd_linux.c