]> Git Repo - linux.git/commit
USB: io_ti: fix sysfs-attribute creation
authorJohan Hovold <[email protected]>
Thu, 18 Oct 2012 09:43:28 +0000 (11:43 +0200)
committerGreg Kroah-Hartman <[email protected]>
Thu, 18 Oct 2012 15:08:47 +0000 (08:08 -0700)
commit5d8c61bc283826827e1f06816c146bfc507d3834
tree9be1821e935b023f468a679f7504ca4000984595
parent0978c9499944d0670338fd048a3bdb1624dc66dc
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: <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
drivers/usb/serial/io_ti.c
This page took 0.046751 seconds and 4 git commands to generate.