aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/smc91x.h
diff options
context:
space:
mode:
authorBen Dooks <ben-linux@fluff.org>2007-05-07 11:13:25 +0000
committerJeff Garzik <jeff@garzik.org>2007-05-08 01:15:15 -0400
commit9fd9f9b669ca71f7b3a7709d02d305c3d428d2fe (patch)
treea5633e6cb443ad7c51b567f06fa25453e114aa9d /drivers/net/smc91x.h
parentd17ecb23b2e5ca174c0f5ce6be42cb3909a02ed0 (diff)
DM9000: fix use of kfree() on net device
The DM9000 network driver is calling kfree() on an netdev causing the system to oops if the probe fails. The right thing to do is call free_netdev(). Thanks to Russell King for spotting this. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/smc91x.h')
0 files changed, 0 insertions, 0 deletions