[U-Boot] spl_mmc: cleanup variable types

Tom Rini trini at ti.com
Thu May 2 18:04:40 CEST 2013


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 <peter.korsgaard at barco.com>
> Reviewed-by: Tom Rini <trini at ti.com>

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: <http://lists.denx.de/pipermail/u-boot/attachments/20130502/23c5cbe9/attachment.pgp>


More information about the U-Boot mailing list