aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/s2io.c
diff options
context:
space:
mode:
authorMarcin Slusarz <marcin.slusarz@gmail.com>2008-05-14 19:20:17 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-05-30 22:19:19 -0400
commit20cbe73cd52f6476f4f7122e8fc801896ea3c4b6 (patch)
treebd489ada3e027e1bf0315491a8702c79afb21a3a /drivers/net/s2io.c
parenta068c0adf2fe28b324bca87f85d27af7f993cdaf (diff)
net/s2io: set_rxd_buffer_pointer returns -ENOMEM, not ENOMEM
Signed-off-by: Marcin Slusarz <marcin.slusarz@gmail.com> Cc: Ramkrishna Vepa <ram.vepa@neterion.com> Cc: Rastapur Santosh <santosh.rastapur@neterion.com> Cc: Sivakumar Subramani <sivakumar.subramani@neterion.com> Cc: Sreenivasa Honnur <sreenivasa.honnur@neterion.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/s2io.c')
-rw-r--r--drivers/net/s2io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
index 326c94122b2..dcc953e57ab 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -6997,7 +6997,7 @@ static int rxd_owner_bit_reset(struct s2io_nic *sp)
6997 &skb,(u64 *)&temp0_64, 6997 &skb,(u64 *)&temp0_64,
6998 (u64 *)&temp1_64, 6998 (u64 *)&temp1_64,
6999 (u64 *)&temp2_64, 6999 (u64 *)&temp2_64,
7000 size) == ENOMEM) { 7000 size) == -ENOMEM) {
7001 return 0; 7001 return 0;
7002 } 7002 }
7003 7003