
21 Mar
2013
21 Mar
'13
5:59 p.m.
On Thu, Mar 21, 2013 at 03:55:17PM +0100, 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
--
Tom