USB: ipaq: fix oops when device is plugged in
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 5 Oct 2009 19:53:58 +0000 (15:53 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 9 Oct 2009 20:52:07 +0000 (13:52 -0700)
commit06bad89da686f6323e95cf925105e8cf88d87caf
tree199c128cb1792e320051a4bf8c0f1675e2a36a66
parentb0a9cf297e587219332ee4acca243627702c2cc9
USB: ipaq: fix oops when device is plugged in

This patch (as1293) fixes a problem with the ipaq serial driver.  It
tries to bind to all the interfaces, even those that don't have enough
endpoints.  The symptom is an invalid memory reference and oops when
the device is plugged in.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
CC: stable <stable@kernel.org>
Tested-by: Matthias Geissert <geissert@mathematik.tu-darmstadt.de>
Tested-by: Tilman Schmidt <tilman@imap.cc>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ipaq.c