OpenCloudOS-Kernel/drivers/mmc/core
Kay Sievers 7eff2e7a8b Driver core: change add_uevent_var to use a struct
This changes the uevent buffer functions to use a struct instead of a
long list of parameters. It does no longer require the caller to do the
proper buffer termination and size accounting, which is currently wrong
in some places. It fixes a known bug where parts of the uevent
environment are overwritten because of wrong index calculations.

Many thanks to Mathieu Desnoyers for finding bugs and improving the
error handling.

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
Cc: Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca>
Cc: Cornelia Huck <cornelia.huck@de.ibm.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2007-10-12 14:51:01 -07:00
..
Kconfig mmc: Use menuconfig objects 2007-05-08 22:41:55 +02:00
Makefile sdio: core support for SDIO function interrupt 2007-09-23 21:01:33 +02:00
bus.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
bus.h mmc: refactor bus operations 2007-07-09 21:27:56 +02:00
core.c mmc: add led trigger 2007-09-24 07:15:48 +02:00
core.h MMC core learns about SPI 2007-09-23 21:51:30 +02:00
host.c mmc: add led trigger 2007-09-24 07:15:48 +02:00
host.h mmc: refactor host class handling 2007-07-09 21:28:01 +02:00
mmc.c MMC core learns about SPI 2007-09-23 21:51:30 +02:00
mmc_ops.c MMC core learns about SPI 2007-09-23 21:51:30 +02:00
mmc_ops.h MMC core learns about SPI 2007-09-23 21:51:30 +02:00
sd.c MMC core learns about SPI 2007-09-23 21:51:30 +02:00
sd_ops.c MMC core learns about SPI 2007-09-23 21:51:30 +02:00
sd_ops.h drivers/mmc/core/: make 3 functions static 2007-07-26 02:05:57 +02:00
sdio.c MMC core learns about SPI 2007-09-23 21:51:30 +02:00
sdio_bus.c sdio: store vendor strings 2007-09-23 21:28:01 +02:00
sdio_bus.h mmc: basic SDIO device model 2007-09-23 19:45:31 +02:00
sdio_cis.c sdio: store vendor strings 2007-09-23 21:28:01 +02:00
sdio_cis.h sdio: split up common and function CIS parsing 2007-09-23 20:44:22 +02:00
sdio_io.c sdio: add sdio_f0_readb() and sdio_f0_writeb() 2007-09-23 21:24:27 +02:00
sdio_irq.c sdio: make the IRQ thread more resilient in the presence of bad states 2007-10-06 17:51:45 +02:00
sdio_ops.c MMC core learns about SPI 2007-09-23 21:51:30 +02:00
sdio_ops.h sdio: extend sdio_readsb() and friends to handle any length of buffer 2007-09-23 21:21:32 +02:00
sysfs.c mmc: move layer init and workqueue to core file 2007-07-09 21:28:06 +02:00
sysfs.h mmc: move layer init and workqueue to core file 2007-07-09 21:28:06 +02:00