android_kernel_xiaomi_sm8350/drivers/pcmcia
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
..
au1000_db1x00.c
au1000_generic.c [PATCH] pcmcia: kzalloc conversion 2006-01-06 00:28:06 +01:00
au1000_generic.h
au1000_pb1x00.c
au1000_xxs1500.c
cardbus.c
cirrus.h
cistpl.c [PATCH] drivers/pcmcia/cistpl.c: fix endian warnings 2006-01-06 00:28:10 +01:00
cs_internal.h [PATCH] pcmcia: merge suspend into device model 2006-01-06 00:02:03 +01:00
cs.c [PATCH] pcmcia: cleanup cs.c, reduce size 2006-01-06 00:28:15 +01:00
ds_internal.h
ds.c [PATCH] fix pcmcia_device_probe oops 2006-03-10 13:40:26 -08:00
hd64465_ss.c [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
i82092.c [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
i82092aa.h [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
i82365.c [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
i82365.h
Kconfig [PATCH] pcmcia: no probing of ioports on PARISC 2006-01-06 00:28:01 +01:00
m8xx_pcmcia.c [PATCH] 8xx PCMCIA: support for MPC885ADS and MPC866ADS 2006-01-06 00:27:53 +01:00
m32r_cfc.c [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
m32r_cfc.h
m32r_pcc.c [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
m32r_pcc.h
Makefile
o2micro.h
omap_cf.c [PATCH] handle errors returned by platform_get_irq*() 2006-03-20 13:42:57 -08:00
pcmcia_compat.c
pcmcia_ioctl.c
pcmcia_resource.c
pd6729.c [PATCH] pcmcia: kzalloc conversion 2006-01-06 00:28:06 +01:00
pd6729.h
pxa2xx_base.c
pxa2xx_base.h
pxa2xx_lubbock.c
pxa2xx_mainstone.c [ARM] 3250/1: Change pxa2xx PCMCIA drivers to use platform_device_alloc 2006-01-10 17:16:12 +00:00
pxa2xx_sharpsl.c [ARM] 3250/1: Change pxa2xx PCMCIA drivers to use platform_device_alloc 2006-01-10 17:16:12 +00:00
ricoh.h
rsrc_mgr.c [PATCH] pcmcia: properly handle static mem, but dynamic io sockets 2006-01-06 00:27:43 +01:00
rsrc_nonstatic.c [PATCH] pcmcia: kzalloc conversion 2006-01-06 00:28:06 +01:00
sa11xx_base.c
sa11xx_base.h
sa1100_assabet.c
sa1100_badge4.c
sa1100_cerf.c
sa1100_generic.c
sa1100_generic.h
sa1100_h3600.c
sa1100_jornada720.c
sa1100_neponset.c
sa1100_shannon.c
sa1100_simpad.c
sa1111_generic.c
sa1111_generic.h
soc_common.c [PATCH] pcmcia: kzalloc conversion 2006-01-06 00:28:06 +01:00
soc_common.h
socket_sysfs.c [PATCH] pcmcia: runtime powermanagement interface 2006-01-12 18:48:16 +01:00
tcic.c [PATCH] pcmcia: remove get_socket callback 2006-01-05 23:41:09 +01:00
tcic.h
ti113x.h [PATCH] yenta: make bridge specific init code configurable 2006-01-05 23:41:23 +01:00
topic.h
vg468.h
vrc4171_card.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
vrc4173_cardu.c [PATCH] Don't pass boot parameters to argv_init[] 2006-03-31 12:18:53 -08:00
vrc4173_cardu.h Update Yoichi Yuasa's email address. 2006-01-10 13:39:07 +00:00
yenta_socket.c [PATCH] pcmcia: kzalloc conversion 2006-01-06 00:28:06 +01:00
yenta_socket.h