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, 7 Feb 2022 07:09:31 +0000 (16:09 +0900)
commitfb0be81d304ac4c0f0bc3f740760c1937fcf6bfd
tree81c75d517d01fc293817d07bc670f48d6613f173
parenta52a00394ecb60e0060f4e057510aedc4a92e5a9
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