From: Horst Schirmeier Date: Thu, 9 Mar 2006 13:10:49 +0000 (+0100) Subject: [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) X-Git-Tag: v2.6.17-rc1~1176^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f48219db93eaee644e9fd9f22fb6421f38059cc5;p=pandora-kernel.git [PATCH] USB: usbcore: usb_set_configuration oops (NULL ptr dereference) When trying to deconfigure a device via usb_set_configuration(dev, 0), 2.6.16-rc kernels after 55c527187c9d78f840b284d596a0b298bc1493af oops with "Unable to handle NULL pointer dereference at...". This is due to an unchecked dereference of cp in the power budget part. Signed-off-by: Horst Schirmeier Acked-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed