aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ps3_gelic_net.c
diff options
context:
space:
mode:
authorMasakazu Mokuno <mokuno@sm.sony.co.jp>2008-02-07 05:57:41 -0500
committerJeff Garzik <jeff@garzik.org>2008-02-11 10:29:38 -0500
commitb94e1d47684b0bee6088d848e29154697ea4c4bd (patch)
tree32ef876c110f17833d8c2dbbd9032f85b34b2bc0 /drivers/net/ps3_gelic_net.c
parent2192f3956d7bcb4cf748f0b8e2c94f0e634810aa (diff)
PS3: gelic: Fix the wrong dev_id passed
The device id for lv1_net_set_interrupt_status_indicator() is wrong. This path would be invoked only in the case of an initialization failure. Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp> Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/ps3_gelic_net.c')
-rw-r--r--drivers/net/ps3_gelic_net.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ps3_gelic_net.c b/drivers/net/ps3_gelic_net.c
index 055af081e027..f6fb556a0f59 100644
--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struct ps3_system_bus_device *dev)
1512 1512
1513fail_setup_netdev: 1513fail_setup_netdev:
1514 lv1_net_set_interrupt_status_indicator(bus_id(card), 1514 lv1_net_set_interrupt_status_indicator(bus_id(card),
1515 bus_id(card), 1515 dev_id(card),
1516 0 , 0); 1516 0 , 0);
1517fail_status_indicator: 1517fail_status_indicator:
1518 ps3_dma_region_free(dev->d_region); 1518 ps3_dma_region_free(dev->d_region);