USB: ipaq: fix oops when device is plugged in
commit1a0da0e58df9667ec9b77c4c222a380c23344977
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 5 Oct 2009 19:53:58 +0000 (5 15:53 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 22 Oct 2009 22:11:49 +0000 (22 15:11 -0700)
treeaa4cdb0f0505069d14e3ff3fa8b38bfdbd1a3133
parent3d22a3e78eaef3c53f63b9010b1cee4533a9fe59
USB: ipaq: fix oops when device is plugged in

commit 06bad89da686f6323e95cf925105e8cf88d87caf upstream.

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>
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