Re: [PATCH] modify console_loglevel from commandline

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 9 Dec 1998 14:59:03 +0000 (GMT)


> cleanly towards later) allow changing the default console_loglevel with
> kernel parameters. These should be simple enough to include in the
> current 2.0 and 2.1 trees without disturbing anything.

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/