diff options
author | Marcin Slusarz <marcin.slusarz@gmail.com> | 2008-05-14 16:20:17 -0700 |
---|---|---|
committer | Jeff Garzik <jgarzik@redhat.com> | 2008-05-30 22:19:19 -0400 |
commit | 20cbe73cd52f6476f4f7122e8fc801896ea3c4b6 (patch) | |
tree | bd489ada3e027e1bf0315491a8702c79afb21a3a /drivers/net/s2io.c | |
parent | a068c0adf2fe28b324bca87f85d27af7f993cdaf (diff) | |
download | op-kernel-dev-20cbe73cd52f6476f4f7122e8fc801896ea3c4b6.zip op-kernel-dev-20cbe73cd52f6476f4f7122e8fc801896ea3c4b6.tar.gz |
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.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c index 326c941..dcc953e 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) &skb,(u64 *)&temp0_64, (u64 *)&temp1_64, (u64 *)&temp2_64, - size) == ENOMEM) { + size) == -ENOMEM) { return 0; } |