Skip to content
Snippets Groups Projects
Forked from Reform / reform-boundary-uboot
Source project has a limited visibility.
user avatar
Peter Korsgaard authored
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: default avatarPeter Korsgaard <peter.korsgaard@barco.com>
Reviewed-by: default avatarTom Rini <trini@ti.com>
2e222105
History
Name Last commit Last update