summary refs log tree commit diff
path: root/drivers/usb/host/ehci-pci.c
diff options
context:
space:
mode:
authorAlan Stern <stern@rowland.harvard.edu>2006-04-14 16:46:28 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-04-27 10:28:58 -0700
commit9fb81ce63671f9743517f628dac935269f2581a9 (patch)
treefaa959f86a921202d71d6f8564677a6c6e81a1a5 /drivers/usb/host/ehci-pci.c
parent658ad5e001a17be5fadaa8d57d1aa7f7c62628c1 (diff)
downloadlinux-9fb81ce63671f9743517f628dac935269f2581a9.tar.gz
[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 <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/host/ehci-pci.c')
0 files changed, 0 insertions, 0 deletions