u-boot/drivers/usb
Seung-Woo Kim 8b387f112b gadget: f_thor: fix wrong file size cast
Casting 32bit int value directly into 64bit unsigned type causes
wrong value for file size equal or larger than 2GB. Fix the wrong
file size by casting uint32_t first.

Fixes: commit 1fe9ae76b1 ("gadget: f_thor: update to support more than 4GB file as thor 5.0")
Reported-by: Junghoon Kim <jhoon20.kim@samsung.com>
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Reviewed-by: Jaehoon Chung <jh80.chung@samsung.com>
2021-01-31 14:08:56 +01:00
..
cdns3 dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
common usb: common: add define of usb_speed_string() 2020-10-20 00:49:05 +02:00
dwc3 Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
emul dm: treewide: Rename ..._platdata variables to just ..._plat 2020-12-13 16:51:09 -07:00
eth Prepare v2021.01-rc5 2021-01-05 16:20:26 -05:00
gadget gadget: f_thor: fix wrong file size cast 2021-01-31 14:08:56 +01:00
host Driver model: make some udevice fields private 2021-01-05 22:34:43 -05:00
mtu3 dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
musb common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
musb-new dm: core: Access device ofnode through functions 2021-01-05 12:24:41 -07:00
phy common: Drop linux/bitops.h from common header 2020-05-18 21:19:23 -04:00
ulpi common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
Kconfig cosmetic: fix typo in drivers/usb/Kconfig 2021-01-04 09:10:17 -05:00