From: Tom Rini Date: Fri, 22 Jul 2016 20:10:08 -0400 Subject: [U-Boot] [U-Boot, v2, 1/4] tools/env: return with error if redundant environments have unequal size In-Reply-To: <1468681575-19671-2-git-send-email-andreas.fenkart@digitalstrom.com> References: <1468681575-19671-2-git-send-email-andreas.fenkart@digitalstrom.com> Message-ID: <20160723001008.GU14698@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 Sat, Jul 16, 2016 at 05:06:12PM +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 With https://patchwork.ozlabs.org/patch/648142/ applied this needs to be reworked, and may not be applicable now, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: