
2 May
2013
2 May
'13
6:04 p.m.
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@barco.com Reviewed-by: Tom Rini trini@ti.com
Applied to u-boot/master, thanks!
--
Tom