diff options
author | Brice Goglin <brice@myri.com> | 2007-03-07 19:59:52 +0100 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2007-03-09 11:51:31 -0500 |
commit | 355c7265f4745a2aa6f0482d466e2271e6b3c61a (patch) | |
tree | ae8ac39636bb84d9a051b08ee5fd61697e625fe7 /include/asm-avr32/device.h | |
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>
Diffstat (limited to 'include/asm-avr32/device.h')
0 files changed, 0 insertions, 0 deletions