From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Thu, 12 Nov 2015 20:27:04 -0500 Subject: [U-Boot] [U-Boot, v2, 03/14] sparse: Refactor chunk parsing function In-Reply-To: <1444912462-3949-4-git-send-email-maxime.ripard@free-electrons.com> References: <1444912462-3949-4-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <20151113012704.GG8060@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 Thu, Oct 15, 2015 at 02:34:11PM +0200, Maxime Ripard wrote: > The chunk parsing code was duplicating a lot of code among the various > chunk types, while all of them could be covered by generic and simple > functions. > > Refactor the current code to reuse as much code as possible and hopefully > make the chunk parsing loop more readable and concise. > > Signed-off-by: Maxime Ripard > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: