forked from luck/tmp_suning_uos_patched
2d3fab9cea
[ Upstream commit e5d6a7c6cfae9e714a0e8ff64facd1ac68a784c6 ]
If wIndex is 0 (and it often is), these calculations underflow and
UBSAN complains, here resolve this by not decrementing the index when
it is equal to 0, this copies the solution from commit
|
||
---|---|---|
.. | ||
bits.h | ||
ci_hdrc_imx.c | ||
ci_hdrc_imx.h | ||
ci_hdrc_msm.c | ||
ci_hdrc_pci.c | ||
ci_hdrc_tegra.c | ||
ci_hdrc_usb2.c | ||
ci.h | ||
core.c | ||
debug.c | ||
host.c | ||
host.h | ||
Kconfig | ||
Makefile | ||
otg_fsm.c | ||
otg_fsm.h | ||
otg.c | ||
otg.h | ||
udc.c | ||
udc.h | ||
ulpi.c | ||
usbmisc_imx.c |