diff options
author | Johan Hovold <jhovold@gmail.com> | 2012-10-18 11:43:28 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-10-18 08:08:47 -0700 |
commit | 5d8c61bc283826827e1f06816c146bfc507d3834 (patch) | |
tree | 9be1821e935b023f468a679f7504ca4000984595 /drivers/lguest | |
parent | 0978c9499944d0670338fd048a3bdb1624dc66dc (diff) | |
download | linux-stable-5d8c61bc283826827e1f06816c146bfc507d3834.tar.gz linux-stable-5d8c61bc283826827e1f06816c146bfc507d3834.tar.bz2 linux-stable-5d8c61bc283826827e1f06816c146bfc507d3834.zip |
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>
Diffstat (limited to 'drivers/lguest')
0 files changed, 0 insertions, 0 deletions