From: Tom Rini Date: Thu, 2 May 2013 12:04:40 -0400 Subject: [U-Boot] spl_mmc: cleanup variable types In-Reply-To: <1363877717-14546-1-git-send-email-peter.korsgaard@barco.com> References: <1363877717-14546-1-git-send-email-peter.korsgaard@barco.com> Message-ID: <20130502160440.GA25397@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, Mar 21, 2013 at 04:55:17AM -0000, Peter Korsgaard wrote: > block_read returns unsigned long, so it doesn't make sense to check for > < 0. and neither does marking the header structure as const and then > casting away the constness to load data into it. > > Also cleanup some unneeded pointer casting while we're at it. > > Signed-off-by: Peter Korsgaard > Reviewed-by: Tom Rini Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: