]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
USB: option: fix port-data abuse
authorJohan Hovold <jhovold@gmail.com>
Tue, 29 May 2012 15:57:52 +0000 (17:57 +0200)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Jun 2012 22:18:23 +0000 (23:18 +0100)
commit6a0bee09c55f4c133826fdea42510b097a2a6ad8
tree894dad32e9ec6370e2b9cd2aaa2f412c2ddabe82
parent85887743d0201c3b422a722d6d5e43f27a139782
USB: option: fix port-data abuse

commit 4273f9878b0a8271df055e3c8f2e7f08c6a4a2f4 upstream.

Commit 8b4c6a3ab596961b78465 ("USB: option: Use generic USB wwan code")
moved option port-data allocation to usb_wwan_startup but still cast the
port data to the old struct...

Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
[bwh: Backported to 3.2: adjust context]
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/usb/serial/option.c