android_kernel_xiaomi_sm8350/drivers/ieee1394
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
..
config_roms.c
config_roms.h
csr1212.c
csr1212.h
csr.c
csr.h
dma.c
dma.h
dv1394-private.h
dv1394.c ieee1394: convert ieee1394 from "struct class_device" to "struct device" 2007-07-10 00:07:39 +02:00
dv1394.h
eth1394.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
eth1394.h ieee1394: eth1394: handle tlabel exhaustion 2007-05-27 23:20:59 +02:00
highlevel.c ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
highlevel.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
hosts.c ieee1394: first minimal NUMA awareness 2007-07-10 00:07:40 +02:00
hosts.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_core.c ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
ieee1394_core.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_hotplug.h
ieee1394_transactions.c ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_transactions.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
ieee1394_types.h
ieee1394-ioctl.h
ieee1394.h
iso.c
iso.h
Kconfig ieee1394: sbp2: more correct Kconfig dependencies 2007-08-02 20:34:16 +02:00
Makefile
nodemgr.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
nodemgr.h ieee1394: convert ieee1394 from "struct class_device" to "struct device" 2007-07-10 00:07:39 +02:00
ohci1394.c ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
ohci1394.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
pcilynx.c ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
pcilynx.h
raw1394-private.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
raw1394.c raw1394 __user annotation 2007-07-26 11:11:57 -07:00
raw1394.h ieee1394: remove old isochronous ABI 2007-07-10 00:07:41 +02:00
sbp2.c ieee1394: sbp2: fix sbp2_remove_device for error cases 2007-08-25 18:00:26 +02:00
sbp2.h ieee1394: sbp2: change some module parameters from int to bool 2007-07-10 00:07:41 +02:00
video1394.c ieee1394: convert ieee1394 from "struct class_device" to "struct device" 2007-07-10 00:07:39 +02:00
video1394.h