public inbox for netdev@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, not ENOMEM
@ 2008-05-11 20:04 Marcin Slusarz
  2008-05-13  0:56 ` [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, notENOMEM Ramkrishna Vepa
  0 siblings, 1 reply; 2+ messages in thread
From: Marcin Slusarz @ 2008-05-11 20:04 UTC (permalink / raw)
  To: LKML
  Cc: Ramkrishna Vepa, Rastapur Santosh, Sivakumar Subramani,
	Sreenivasa Honnur, netdev

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>
Cc: netdev@vger.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;
 				}
 
-- 

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-05-13  0:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-11 20:04 [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, not ENOMEM Marcin Slusarz
2008-05-13  0:56 ` [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, notENOMEM Ramkrishna Vepa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox