lineage_android_kernel_xiao.../drivers/pci
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
..
hotplug i386: move pci 2007-10-11 11:16:36 +02:00
pcie some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
.gitignore
Kconfig
Makefile
access.c
bus.c
hotplug.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
htirq.c
msi.c
msi.h
pci-acpi.c ACPI: restore CONFIG_ACPI_SLEEP 2007-07-29 16:53:59 -07:00
pci-driver.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
pci-sysfs.c Remove capability.h from mm.h 2007-07-16 09:05:45 -07:00
pci.c pci: rename __pci_reenable_device() to pci_reenable_device() 2007-08-01 10:00:56 -04:00
pci.h Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
probe.c PCI: remove devinit from pci_read_bridge_bases 2007-09-11 04:22:16 -07:00
proc.c Remove capability.h from mm.h 2007-07-16 09:05:45 -07:00
quirks.c Fix bogus PCI quirk for e100 2007-09-28 16:21:10 -07:00
remove.c
rom.c
search.c use no_pci_devices() in pci/search.c 2007-07-16 09:05:41 -07:00
setup-bus.c
setup-irq.c
setup-res.c
syscall.c