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
dv1394.h
eth1394.c [NET]: Move hardware header operations out of netdevice. 2007-10-10 16:52:52 -07:00
eth1394.h
highlevel.c
highlevel.h
hosts.c
hosts.h
ieee1394_core.c ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
ieee1394_core.h
ieee1394_hotplug.h
ieee1394_transactions.c
ieee1394_transactions.h
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
ohci1394.c ieee1394: ohci1394: fix initialization if built non-modular 2007-09-20 21:19:45 +02:00
ohci1394.h
pcilynx.c
pcilynx.h
raw1394-private.h
raw1394.c raw1394 __user annotation 2007-07-26 11:11:57 -07:00
raw1394.h
sbp2.c ieee1394: sbp2: fix sbp2_remove_device for error cases 2007-08-25 18:00:26 +02:00
sbp2.h
video1394.c
video1394.h