original_kernel/drivers/ide
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
..
arm icside: fix ->speedproc to return on unsupported modes (take 5) 2007-10-11 23:54:00 +02:00
cris ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +02:00
h8300
legacy ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
mips ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +02:00
pci Merge git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6 2007-10-11 19:20:44 -07:00
ppc ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +02:00
Kconfig ide: Kconfig face-lift 2007-10-11 23:54:00 +02:00
Makefile
ide-acpi.c ide: hook ACPI _PSx method to IDE power on/off 2007-10-11 23:53:58 +02:00
ide-cd.c
ide-cd.h
ide-disk.c ide: ST320413A has the same problem as ST340823A 2007-09-17 12:35:30 +02:00
ide-dma.c ide: mode limiting fixes for user requested speed changes 2007-10-11 23:53:59 +02:00
ide-floppy.c Fixup rq_for_each_segment() indentation 2007-10-10 09:25:56 +02:00
ide-generic.c
ide-io.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ide-iops.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ide-lib.c ide: use only ->set_pio_mode method for programming PIO modes (take 2) 2007-10-11 23:54:02 +02:00
ide-pnp.c
ide-probe.c ide: add ide_set{_max}_pio() (take 4) 2007-10-11 23:54:00 +02:00
ide-proc.c
ide-tape.c ide: eliminate warnings in ide-tape.c 2007-08-01 23:46:44 +02:00
ide-taskfile.c
ide-timing.h
ide.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
setup-pci.c ide: fix PCI refcounting 2007-09-11 22:28:34 +02:00