Re: [PATCH] dspbridge: Simplify Atoi() method (v2)

2010-02-16 Thread Omar Ramirez Luna
On 2/10/2010 1:58 AM, Andy Shevchenko wrote: From: Andy Shevchenkoext-andriy.shevche...@nokia.com Try to use simple_strtoul() kernel native method instead. However, there are opened questions: - why type of Atoi() is s32 if the sign is used only to detect base? - should we really to check

[PATCH] dspbridge: Simplify Atoi() method (v2)

2010-02-10 Thread Andy Shevchenko
From: Andy Shevchenko ext-andriy.shevche...@nokia.com Try to use simple_strtoul() kernel native method instead. However, there are opened questions: - why type of Atoi() is s32 if the sign is used only to detect base? - should we really to check hex integers like DEAD0123h? - how many spaces