From: Tom Rini Date: Tue, 19 Jun 2018 14:41:32 -0400 Subject: [U-Boot] [U-Boot, v5, 6/6] iotrace: fix behaviour when buffer is full In-Reply-To: <20180608175327.9097-7-ramon.fried@gmail.com> References: <20180608175327.9097-7-ramon.fried@gmail.com> Message-ID: <20180619184132.GI4609@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Fri, Jun 08, 2018 at 08:53:27PM +0300, Ramon Fried wrote: > Don't continue updating the offset when buffer is full. > When the buffer size exhausts and there's no space left to write > warn the user and update only the needed size and not both the > offset and needed size. > > Add needed buffer size information in the iotrace command. > > Signed-off-by: Ramon Fried Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: not available URL: