WSL2-Linux-Kernel/drivers/acpi
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
..
dispatcher [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
events [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
executer [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
hardware [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
namespace [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
parser [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
resources [PATCH] ACPI: fix vendor resource length computation 2006-02-17 14:09:22 -08:00
sleep [ACPI] fix reboot upon suspend-to-disk 2005-12-15 13:28:14 -05:00
tables [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
utilities [ACPI] ACPICA 20060127 2006-01-31 03:25:09 -05:00
Kconfig fix typos "wich" -> "which" 2006-03-24 18:23:14 +01:00
Makefile [ACPI] IA64 build: blacklist.c is used only on X86 2005-11-30 21:59:35 -05:00
ac.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
acpi_memhotplug.c [ACPI] acpi_memhotplug.c build fix 2006-01-07 04:43:40 -05:00
asus_acpi.c [ACPI_ASUS] fix asus module param description 2006-01-04 00:59:11 -05:00
battery.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
blacklist.c [PATCH] x86_64: Clean up and tweak ACPI blacklist year code 2006-03-25 09:10:54 -08:00
bus.c [PATCH] move pm_register/etc. to CONFIG_PM_LEGACY, pm_legacy.h 2005-11-13 18:14:10 -08:00
button.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
container.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
debug.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
ec.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
event.c [PATCH] Fix /proc/acpi/events around suspend 2005-10-17 17:03:57 -07:00
fan.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
glue.c [ACPI] ACPICA 20050930 2005-12-10 00:20:25 -05:00
hotkey.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
ibm_acpi.c [PATCH] acpi: remove dock event handling from ibm_acpi 2006-03-23 14:35:15 -08:00
motherboard.c [ACPI] ACPICA 20050930 2005-12-10 00:20:25 -05:00
numa.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
osl.c [PATCH] ACPI: clean up memory attribute checking for map/read/write 2006-03-26 08:56:54 -08:00
pci_bind.c [ACPI] add static to function definitions 2005-09-03 00:20:13 -04:00
pci_irq.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
pci_link.c [ACPI] remove "Resource isn't an IRQ" warning 2006-01-26 17:23:38 -05:00
pci_root.c [ACPI] ACPICA 20050930 2005-12-10 00:20:25 -05:00
power.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
processor_core.c [PATCH] more s/fucn/func/ typo fixes 2006-03-26 08:57:09 -08:00
processor_idle.c [PATCH] Fix compilation of processor_idle.c on IA64 2006-03-25 20:19:29 -08:00
processor_perflib.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
processor_thermal.c [ACPI] make two processor functions static 2006-01-08 03:05:59 -05:00
processor_throttling.c [ACPI] make two processor functions static 2006-01-08 03:05:59 -05:00
scan.c [PATCH] acpi: export acpi_bus_trim 2006-03-23 14:35:15 -08:00
system.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
tables.c [PATCH] EFI fixes 2006-03-26 08:56:54 -08:00
thermal.c [ACPI] Allow return to active cooling mode once passive mode is entered 2005-11-30 22:51:04 -05:00
toshiba_acpi.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
utils.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
video.c [ACPI] move some run-time structure inits to compile time 2006-01-07 04:19:08 -05:00