commit | 355c7265f4745a2aa6f0482d466e2271e6b3c61a | [log] [tgz] |
---|---|---|
author | Brice Goglin <brice@myri.com> | Wed Mar 07 19:59:52 2007 +0100 |
committer | Jeff Garzik <jeff@garzik.org> | Fri Mar 09 11:51:31 2007 -0500 |
tree | ae8ac39636bb84d9a051b08ee5fd61697e625fe7 | |
parent | b8d095d782fa1e97d5dc05c08ba32c8eb28b85e4 [diff] |
myri10ge: fix error checking and return value in myri10ge_allocate_rings 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 <brice@myri.com> Signed-off-by: Jeff Garzik <jeff@garzik.org>