From: Alan Stern Date: Wed, 8 Mar 2006 20:14:09 +0000 (-0500) Subject: [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces X-Git-Tag: v2.6.17-rc1~1176^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6aa35675bbc370e5f11baae7e01a9ab255d8030c;p=pandora-kernel.git [PATCH] USB: usbcore: Don't assume a USB configuration includes any interfaces In a couple of places, usbcore assumes that a USB device configuration will have a nonzero number of interfaces. Having no interfaces may or may not be allowed by the USB spec; in any event we shouldn't die if we encounter such a thing. This patch (as662) removes the assumptions. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed