git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0978c94
)
USB: io_ti: fix sysfs-attribute creation
author
Johan Hovold
<jhovold@gmail.com>
Thu, 18 Oct 2012 09:43:28 +0000
(11:43 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Thu, 18 Oct 2012 15:08:47 +0000
(08:08 -0700)
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>
No differences found