Sebastian Kuzminsky wrote:

>[snip]
>
>The num_stepgens value gets validated in hm2_stepgen_parse_md().
>
>I agree that the expected integer is not properly validated, and that 
>that's not the problem that Eric's seeing, but that it should be done 
>better somehow.  :-)
>  
>
So, do you mind if I change parameter parsing to the "right way"?  :)

Here's a little bit of a description of the method and what it gives you:
<http://www.linuxtopia.org/online_books/linux_kernel/linux_kernel_module_programming_2.6/x323.html>

Note the error messages when you try to use invalid parameter values  :)

- Steve

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to