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)
committerJunghoon Kim <jhoon20.kim@samsung.com>
Thu, 2 Apr 2020 04:09:00 +0000 (13:09 +0900)
commit782ce49737fab544dd654179c15474a4cad6b9a4
tree3b7ff18a7898c519c02f6c407a54493563ad929b
parentdab584477dd7c0e3240b62c510f22b86870d6b0d
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