[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080511200421.GK19058@joi>
Date: Sun, 11 May 2008 22:04:25 +0200
From: Marcin Slusarz <marcin.slusarz@...il.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Ramkrishna Vepa <ram.vepa@...erion.com>,
Rastapur Santosh <santosh.rastapur@...erion.com>,
Sivakumar Subramani <sivakumar.subramani@...erion.com>,
Sreenivasa Honnur <sreenivasa.honnur@...erion.com>,
netdev@...r.kernel.org
Subject: [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, not
ENOMEM
Signed-off-by: Marcin Slusarz <marcin.slusarz@...il.com>
Cc: Ramkrishna Vepa <ram.vepa@...erion.com>
Cc: Rastapur Santosh <santosh.rastapur@...erion.com>
Cc: Sivakumar Subramani <sivakumar.subramani@...erion.com>
Cc: Sreenivasa Honnur <sreenivasa.honnur@...erion.com>
Cc: netdev@...r.kernel.org
---
compile tested only
---
drivers/net/s2io.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/net/s2io.c b/drivers/net/s2io.c
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -6951,7 +6951,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;
}
--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists