]> 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)
commite0b3a87f7cc33fab937efec71ea1e868b79ad45a
treef76d15c047835477134a31d80dc6135c9659f748
parentadede7d3338600e804c3de372301b13964e7af27
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