Re: [PATCH 1/7] PS3: gelic: Fix the wrong dev_id passed

2008-02-11 Thread Jeff Garzik

Masakazu Mokuno wrote:

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 <[EMAIL PROTECTED]>
---
 drivers/net/ps3_gelic_net.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


applied 1-7

Please do not duplicate the email subject -- the change's one-line 
summary -- as the first line of the email.  I had to hand-edit each of 
this duplicate information out, before applying the patches.



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[PATCH 1/7] PS3: gelic: Fix the wrong dev_id passed

2008-02-07 Thread Masakazu Mokuno
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 <[EMAIL PROTECTED]>
---
 drivers/net/ps3_gelic_net.c |2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- a/drivers/net/ps3_gelic_net.c
+++ b/drivers/net/ps3_gelic_net.c
@@ -1512,7 +1512,7 @@ static int ps3_gelic_driver_probe (struc
 
 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);


--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html