Re: [PATCH] mmc: sdhci: fix the wrong type of curr

2014-08-13 Thread Ulf Hansson
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

RE: [PATCH] mmc: sdhci: fix the wrong type of curr

2014-08-12 Thread Dong, Chuanxiao
Hello, Any feedback on this fix? Thanks Chuanxiao > -Original Message- > From: linux-mmc-ow...@vger.kernel.org > [mailto:linux-mmc-ow...@vger.kernel.org] On Behalf Of Chuanxiao Dong > Sent: Friday, August 01, 2014 2:00 PM > To: linux-mmc@vger.kernel.org; c...@laptop.org; ulf.hans...@lina