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.korsga...@barco.com> > Reviewed-by: Tom Rini <tr...@ti.com>
Applied to u-boot/master, thanks! -- Tom
signature.asc
Description: Digital signature
_______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot