[U-Boot] [PATCH 1/2] tools/env: return with error if redundant environments have unequal size
Tom Rini
trini at konsulko.com
Fri Aug 19 21:55:08 CEST 2016
On Wed, Aug 17, 2016 at 11:41:53PM +0200, Andreas Fenkart wrote:
> For double buffering to work, the target buffer must always be big
> enough to hold all data. This can only be ensured if buffers are of
> equal size, otherwise one must be smaller and we risk data loss
> when copying from the bigger to the smaller buffer.
>
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Andreas Fenkart <andreas.fenkart at digitalstrom.com>
Reviewed-by: Tom Rini <trini at konsulko.com>
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20160819/1d0194e8/attachment.sig>
More information about the U-Boot
mailing list