diff options
author | Ji Luo <ji.luo@nxp.com> | 2020-10-28 09:12:59 +0800 |
---|---|---|
committer | Ji Luo <ji.luo@nxp.com> | 2020-10-28 13:27:11 +0800 |
commit | 077b448679b9ad2891495c7344ba99a6c10a59fb (patch) | |
tree | 00a773120494a271365c7c35114d7889fe3719e9 /arch | |
parent | 0cdc937f7bdd2de16c9d7161fb46252ba8648e10 (diff) |
MA-18166 Android: Fix mmc multi blk load issue
The 'offset' can be negative number passed from fsl_read_from_partition_multi(),
don't covert 'blksz' to 'uint64_t' as it will cause overflow when the 'offset'
is negative number.
Test: mmc blk read with 'offset < 0'.
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Change-Id: Id1ce8e0c748dd280d70c1722cc7d17cc9646a4bb
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions