lkml.org 
[lkml]   [2010]   [Sep]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 2/3] mmc_test: change simple_strtol() to strict_strtol()
From
Date
On Wed, 2010-09-01 at 10:25 +0200, Quadros Roger (Nokia-MS/Helsinki)
wrote:

> No patch summary?
Will be in next version.

> > -static void mmc_test_run(struct mmc_test_card *test, int testcase)
> > +static void mmc_test_run(struct mmc_test_card *test, long testcase)
> > {
> > - int i, ret;
> > + long i;
>
> Why this change? isn't unsigned int sufficient for the mmc test cases?
You are right. This certain change is redundant. I'll skip it.

> > - testcase = simple_strtol(buf, NULL, 10);
> > + if (strict_strtol(buf, 10,&testcase))
> space required ^ here
It's odd. I have space in my patch.


--
With Best Regards,
Andy Shevchenko






\
 
 \ /
  Last update: 2010-09-01 10:45    [W:0.031 / U:1.276 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site