Skip to content

Commit

Permalink
PS3: gelic: Fix the wrong dev_id passed
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Masakazu Mokuno authored and Jeff Garzik committed Feb 11, 2008
1 parent 2192f39 commit b94e1d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ps3_gelic_net.c
Original file line number Diff line number Diff line change
Expand Up @@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struct ps3_system_bus_device *dev)

fail_setup_netdev:
lv1_net_set_interrupt_status_indicator(bus_id(card),
bus_id(card),
dev_id(card),
0 , 0);
fail_status_indicator:
ps3_dma_region_free(dev->d_region);
Expand Down

0 comments on commit b94e1d4

Please sign in to comment.