Files
u-boot/common
Bin Meng 72ac8f3fc2 usb: storage: Fix overwritten in usb_stor_set_max_xfer_blk()
The stored 'blk' value is overwritten to 'size / 512' before it can
be used in usb_stor_set_max_xfer_blk(). This is not what we want.
In fact, when 'size' exceeds the upper limit (USHRT_MAX * 512), we
should simply assign 'size' to the upper limit.

Reported-by: Coverity (CID: 167250)
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
2017-10-01 16:32:55 +02:00
..
2017-08-16 08:30:24 -04:00
2017-05-12 08:37:09 -04:00
2017-07-11 22:41:46 -04:00
2017-09-12 17:58:02 -04:00
2016-02-06 12:00:59 +01:00
2016-05-02 18:37:09 -04:00
2017-08-19 20:42:20 +02:00
2017-07-03 17:35:28 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00
2017-08-16 08:30:24 -04:00