aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/utils.py
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2021-08-27 11:31:05 +0800
committerGreg Kroah-Hartman <[email protected]>2021-08-27 10:24:51 +0200
commitb7d509a92bb0216b01f428166be3770d04bbdd87 (patch)
treeb17de25ecdf47b56bc8d629f2e1760ed1a05badc /scripts/gdb/linux/utils.py
parent452d1ea55c3e621dc94ac8b832c5e00feb59aad4 (diff)
usb: xhci-mtk: allow bandwidth table rollover
xhci-mtk has 64 slots for periodic bandwidth calculations and each slot represents byte budgets on a microframe. When an endpoint's allocation sits on the boundary of the table, byte budgets' slot can be rolled over but the current implementation doesn't. This patch allows the microframe index rollover and prevent out-of-bounds array access. Signed-off-by: Ikjoon Jang <[email protected]> Signed-off-by: Chunfeng Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions