android_kernel_motorola_sm6225/drivers/firmware
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
..
dcdbas.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
dcdbas.h sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
dell_rbu.c sysfs: add parameter "struct bin_attribute *" in .read/.write methods for sysfs binary attributes 2007-07-11 16:09:09 -07:00
dmi-id.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
dmi_scan.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
edd.c edd: switch to pci_get based API 2007-07-16 09:05:42 -07:00
efivars.c sysfs: kill unnecessary attribute->owner 2007-07-11 16:09:06 -07:00
Kconfig DMI-based module autoloading 2007-07-11 16:09:00 -07:00
Makefile DMI-based module autoloading 2007-07-11 16:09:00 -07:00
pcdp.c serial: convert early_uart to earlycon for 8250 2007-07-16 09:05:35 -07:00
pcdp.h [IA64] Make PCDP work again. 2005-07-13 11:56:32 -07:00