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, 6 Jul 2020 09:06:06 +0000 (18:06 +0900)
commit2bd092737b328797ebb9ad1b03e00015c39f5b85
tree40778ef35da4ef3e5642f1a5bea91936e87cb5ac
parentdc0b96b331441424f7a7f8bdf80dbb77f7c319ec
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