kernel_optimize_test/init
Alexander Sverdlin 808bf29b91 init: carefully handle loglevel option on kernel cmdline.
When a malformed loglevel value (for example "${abc}") is passed on the
kernel cmdline, the loglevel itself is being set to 0.

That then suppresses all following messages, including all the errors
and crashes caused by other malformed cmdline options.  This could make
debugging process quite tricky.

This patch leaves the previous value of loglevel if the new value is
incorrect and reports an error code in this case.

Signed-off-by: Alexander Sverdlin <alexander.sverdlin@sysgo.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-09-21 13:18:52 -07:00
..
calibrate.c init: skip calibration delay if previously done 2011-07-25 20:57:17 -07:00
do_mounts_initrd.c
do_mounts_md.c
do_mounts_rd.c
do_mounts.c
do_mounts.h
initramfs.c
Kconfig mm: remove the leftovers of noswapaccount 2011-07-25 20:57:09 -07:00
main.c init: carefully handle loglevel option on kernel cmdline. 2011-09-21 13:18:52 -07:00
Makefile
noinitramfs.c
version.c