On Tue, Oct 05, 2010 at 09:00:25PM -0400, Tracey Dent wrote:
No, this doesn't work. strict_strtoul() only returns zero and -EINVAL.
It doesn't return the number.
GCC even warns about this change:
drivers/staging/comedi/kcomedilib/kcomedilib_main.c: In function ‘comedi_open’:
passing argument 2 of ‘strict_strtoul’ makes integer from pointer without a cast
Please at least compile these before sending. :(