mirror of
https://github.com/torvalds/linux.git
synced 2024-11-24 13:11:40 +00:00
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>
This commit is contained in:
parent
2192f3956d
commit
b94e1d4768
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user