Re: [PATCH 1/4] myri10ge: fix error checking and return value in myri10ge_allocate_rings

2007-03-09 Thread Jeff Garzik
Brice Goglin wrote: Fix a missing error check in myri10ge_allocate_rings() and set status to -ENOMEM before all actual allocations so that the error path returns what it should. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> --- drivers/net/myri10ge/myri10ge.c |4 1 file changed, 4 in

[PATCH 1/4] myri10ge: fix error checking and return value in myri10ge_allocate_rings

2007-03-07 Thread Brice Goglin
Fix a missing error check in myri10ge_allocate_rings() and set status to -ENOMEM before all actual allocations so that the error path returns what it should. Signed-off-by: Brice Goglin <[EMAIL PROTECTED]> --- drivers/net/myri10ge/myri10ge.c |4 1 file changed, 4 insertions(+) Index: li