summaryrefslogtreecommitdiff
path: root/drivers/usb/host/xhci-hub.c
diff options
context:
space:
mode:
authorMathias Nyman <mathias.nyman@linux.intel.com>2017-12-11 10:38:03 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-12-12 13:16:07 +0100
commit33369d5a20549ac371f1f20f389f58246acc7621 (patch)
tree8bb0f73aac4f1077e59b03b4a685e42824455954 /drivers/usb/host/xhci-hub.c
parentaa15d3d257f9edcb8d15ed27e228d1c0080cb919 (diff)
xhci: fixup incorrect memset size parameter when clearing up DbC on exit.
Incorrect size was given to memset when zeroing the DbC endpoint structures on exit. Use element size * ARRAY_SIZE to fix it Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Fixes: dfba2174dc42 ("usb: xhci: Add DbC support in xHCI driver") Signed-off-by: Arnd Bergmann <arnd@arndb.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci-hub.c')
0 files changed, 0 insertions, 0 deletions