From: Alan Stern Date: Fri, 14 Apr 2006 20:46:28 +0000 (-0400) Subject: [PATCH] USB: net2280: set driver data before it is used X-Git-Tag: v2.6.17-rc4~137^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fb81ce63671f9743517f628dac935269f2581a9;p=pandora-kernel.git [PATCH] USB: net2280: set driver data before it is used This patch (as671) fixes a bug in the error pathway for the net2280 probe routine. A failure during probe will cause the driver to call pci_get_drvdata before the corresponding pci_set_drvdata has been set. The patch also does a kzalloc conversion. Signed-off-by: Alan Stern Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed