On Mon, Dec 02, 2019 at 12:11:14PM +0100, Marek Szyprowski wrote:

> The code for handing file overwrite incorrectly calculated the amount of
> data to write when writing to the last non-cluster aligned chunk. Fix
> this by ensuring that no more data than the 'filesize' is written to disk.
> While touching min()-based calculations, change it to type-safe min_t()
> function.
> 
> Signed-off-by: Marek Szyprowski <m.szyprow...@samsung.com>
> 
> This patch finally fixes the issue revealed by the test script from the
> previous patch. The correctness of the change has been also verified by
> the following additional test scripts:
> 

Applied to u-boot/master, thanks!

-- 
Tom

Attachment: signature.asc
Description: PGP signature

Reply via email to