There is one thing I think you need to do to go with that however. That
is to make sure all the copyright banners printed by drivers are still
printed in "quiet" mode. If you check that too then it seems reasonable
to add 'quiet'
> +int atoi(const char *num) {
> + int result = 0;
> +
> + while ( (*num >= '0') && (*num <= '9') )
> + result = result * 10 + *(num++) - '0';
> +
> + return result;
> +}
We have simple_strtoul() btw ... you dont need to implement atoi
Alan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/