lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date:	Wed, 14 May 2008 16:20:17 -0700
From:	akpm@...ux-foundation.org
To:	jeff@...zik.org
Cc:	netdev@...r.kernel.org, akpm@...ux-foundation.org,
	marcin.slusarz@...il.com, ram.vepa@...erion.com,
	santosh.rastapur@...erion.com, sivakumar.subramani@...erion.com,
	sreenivasa.honnur@...erion.com
Subject: [patch 11/11] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, not ENOMEM

From: Marcin Slusarz <marcin.slusarz@...il.com>

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>
Signed-off-by: Andrew Morton <akpm@...ux-foundation.org>
---

 drivers/net/s2io.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/net/s2io.c~net-s2io-set_rxd_buffer_pointer-returns-enomem-not-enomem drivers/net/s2io.c
--- a/drivers/net/s2io.c~net-s2io-set_rxd_buffer_pointer-returns-enomem-not-enomem
+++ a/drivers/net/s2io.c
@@ -6951,7 +6951,7 @@ static  int rxd_owner_bit_reset(struct s
 						       &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 netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists