android_kernel_xiaomi_sm8350/drivers/w1
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
..
masters drivers/ misc __iomem annotations 2007-07-26 11:11:57 -07:00
slaves some kmalloc/memset ->kzalloc (tree wide) 2007-07-19 10:04:50 -07:00
Kconfig Use menuconfig objects: W1 2007-07-16 09:05:40 -07:00
Makefile [PATCH] better CONFIG_W1_SLAVE_DS2433_CRC handling 2006-12-07 08:39:43 -08:00
w1_family.c
w1_family.h [BATTERY] ds2760 W1 slave 2007-07-10 11:28:31 +01:00
w1_int.c w1: fix w1_remove_master_device() searching 2007-08-22 19:52:46 -07:00
w1_int.h
w1_io.c
w1_log.h
w1_netlink.c
w1_netlink.h
w1.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
w1.h