From: Tom Rini Date: Fri, 4 Sep 2015 13:20:29 -0400 Subject: [U-Boot] [PATCH 03/13] sparse: Refactor chunk parsing function In-Reply-To: <1441032373-16992-4-git-send-email-maxime.ripard@free-electrons.com> References: <1441032373-16992-1-git-send-email-maxime.ripard@free-electrons.com> <1441032373-16992-4-git-send-email-maxime.ripard@free-electrons.com> Message-ID: <20150904172029.GI26226@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 Mon, Aug 31, 2015 at 04:46:03PM +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 -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: