Skip to content
Snippets Groups Projects
Commit 2e222105 authored by Peter Korsgaard's avatar Peter Korsgaard Committed by Tom Rini
Browse files

spl_mmc: cleanup variable types


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>
parent 971020c7
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment