]> git.baikalelectronics.ru Git - kernel.git/commit
USB: option: fix port-data abuse
authorJohan Hovold <jhovold@gmail.com>
Tue, 29 May 2012 15:57:52 +0000 (17:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 23:09:50 +0000 (16:09 -0700)
commit55eb2532adb9f663f53311e4696726cbd819ed1f
treef76d15c047835477134a31d80dc6135c9659f748
parent91f078bb9e20aa7282715da11b950766dbbbe03a
USB: option: fix port-data abuse

Commit 9f6e2031a36400c32d6cd ("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...

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