On 1 August 2014 08:00, Chuanxiao Dong wrote:
> curr should use signed type since it will contain the returned
> value which is possible to be a negative value. Using u32 will
> make the returned value to be true even there is a negative result.
> Change to use int instead of u32
>
> Signed-off-by
p.org; ulf.hans...@linaro.org
> Subject: [PATCH] mmc: sdhci: fix the wrong type of curr
>
> curr should use signed type since it will contain the returned value which is
> possible to be a negative value. Using u32 will make the returned value to be
> true even there is a negative result.
curr should use signed type since it will contain the returned
value which is possible to be a negative value. Using u32 will
make the returned value to be true even there is a negative result.
Change to use int instead of u32
Signed-off-by: Chuanxiao Dong
---
drivers/mmc/host/sdhci.c |2 +-