Home
last modified time | relevance | path

Searched hist:"5 d8c61bc283826827e1f06816c146bfc507d3834" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/usb/serial/
H A Dio_ti.cdiff 5d8c61bc283826827e1f06816c146bfc507d3834 Thu Oct 18 04:43:28 CDT 2012 Johan Hovold <jhovold@gmail.com> USB: io_ti: fix sysfs-attribute creation

Make sure port data is initialised before creating sysfs attributes to
avoid a race.

A recent patch ("USB: io_ti: fix port-data memory leak") got the
sysfs-attribute creation and port-data initialisation ordering wrong.

Cc: <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>