android_kernel_xiaomi_sm8350/drivers/usb/core
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
..
buffer.c
config.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devices.c USB: add IAD support to usbfs and sysfs 2007-07-12 16:34:40 -07:00
devio.c usbfs micro optimitation 2007-04-27 13:28:42 -07:00
driver.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
endpoint.c
file.c USB: prevent char device open/deregister race 2007-07-12 16:29:48 -07:00
generic.c USB: unify reset_resume and normal resume 2007-07-12 16:34:30 -07:00
hcd-pci.c USB: remove references to dev.power.power_state 2007-07-12 16:29:46 -07:00
hcd.c USB: change name of spinlock in hcd.c 2007-07-19 17:46:08 -07:00
hcd.h USB: separate root and non-root suspend/resume 2007-07-12 16:34:29 -07:00
hub.c USB: accept 1-byte Device Status replies, fixing some b0rken devices 2007-08-22 14:27:49 -07:00
hub.h
inode.c header cleaning: don't include smp_lock.h when not used 2007-05-08 11:15:07 -07:00
Kconfig USB: add power/persist device attribute 2007-07-12 16:34:30 -07:00
Makefile
message.c Driver core: change add_uevent_var to use a struct 2007-10-12 14:51:01 -07:00
notify.c
otg_whitelist.h
quirks.c USB: disable autosuspend by default for non-hubs 2007-09-13 05:49:04 -07:00
sysfs.c USB: add "descriptors" binary sysfs attribute 2007-07-19 17:46:04 -07:00
urb.c USB: documentation update for usb_unlink_urb 2007-07-19 17:46:05 -07:00
usb.c USB: usb/dma doc updates 2007-07-12 16:34:42 -07:00
usb.h USB: unify reset_resume and normal resume 2007-07-12 16:34:30 -07:00