From: Brice Goglin Date: Wed, 7 Mar 2007 18:59:52 +0000 (+0100) Subject: myri10ge: fix error checking and return value in myri10ge_allocate_rings X-Git-Tag: v2.6.21-rc4~70^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=355c7265f4745a2aa6f0482d466e2271e6b3c61a;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed