From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Fri, 19 Aug 2016 15:55:08 -0400 Subject: [U-Boot] [PATCH 1/2] tools/env: return with error if redundant environments have unequal size In-Reply-To: <1471470114-27721-2-git-send-email-andreas.fenkart@digitalstrom.com> References: <1471470114-27721-1-git-send-email-andreas.fenkart@digitalstrom.com> <1471470114-27721-2-git-send-email-andreas.fenkart@digitalstrom.com> Message-ID: <20160819195508.GL5342@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 > Signed-off-by: Andreas Fenkart Reviewed-by: Tom Rini -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: