android_kernel_xiaomi_sm8350/drivers/video/console
OGAWA Hirofumi 9b41046cd0 [PATCH] Don't pass boot parameters to argv_init[]
The boot cmdline is parsed in parse_early_param() and
parse_args(,unknown_bootoption).

And __setup() is used in obsolete_checksetup().

	start_kernel()
		-> parse_args()
			-> unknown_bootoption()
				-> obsolete_checksetup()

If __setup()'s callback (->setup_func()) returns 1 in
obsolete_checksetup(), obsolete_checksetup() thinks a parameter was
handled.

If ->setup_func() returns 0, obsolete_checksetup() tries other
->setup_func().  If all ->setup_func() that matched a parameter returns 0,
a parameter is seted to argv_init[].

Then, when runing /sbin/init or init=app, argv_init[] is passed to the app.
If the app doesn't ignore those arguments, it will warning and exit.

This patch fixes a wrong usage of it, however fixes obvious one only.

Signed-off-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-03-31 12:18:53 -08:00
..
bitblit.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
dummycon.c
fbcon_ccw.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_cw.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_rotate.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon_rotate.h [PATCH] fbcon: Code cleanups 2006-01-10 08:01:51 -08:00
fbcon_ud.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
fbcon.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
fbcon.h [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
font_6x11.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_7x14.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_10x18.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_acorn_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_mini_4x6.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_pearl_8x8.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun8x16.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
font_sun12x22.c [PATCH] fbcon: constify font data 2005-09-13 08:22:32 -07:00
fonts.c [PATCH] drivers/video: Use ARRAY_SIZE macro 2006-03-27 08:44:58 -08:00
Kconfig [PATCH] vgacon: Add support for soft scrollback 2006-03-27 08:44:55 -08:00
Makefile Revert "[PATCH] fbcon: Add rl (Roman Large) font" 2005-11-12 10:14:02 -08:00
mdacon.c
newport_con.c [PATCH] sparse: Fix warnings in newport driver about non-static functions 2006-03-27 08:44:57 -08:00
prom.uni
promcon.c
softcursor.c [PATCH] drivers/video/: possible cleanups 2006-01-10 08:01:56 -08:00
sticon.c
sticore.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
tileblit.c [PATCH] fbcon: Sanitize fbcon 2006-01-10 08:01:42 -08:00
vgacon.c [PATCH] vgacon: Add support for soft scrollback 2006-03-27 08:44:55 -08:00