[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <78C9135A3D2ECE4B8162EBDCE82CAD770389468A@nekter>
Date: Mon, 12 May 2008 20:56:57 -0400
From: "Ramkrishna Vepa" <Ramkrishna.Vepa@...erion.com>
To: "Marcin Slusarz" <marcin.slusarz@...il.com>,
"LKML" <linux-kernel@...r.kernel.org>,
"Jeff Garzik" <jeff@...zik.org>
Cc: "Rastapur Santosh" <santosh.rastapur@...erion.com>,
"Sivakumar Subramani" <Sivakumar.Subramani@...erion.com>,
"Sreenivasa Honnur" <Sreenivasa.Honnur@...erion.com>,
<netdev@...r.kernel.org>
Subject: RE: [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM, notENOMEM
Good catch!
Jeff,
Please accept patch.
Thanks,
Ram
> -----Original Message-----
> From: Marcin Slusarz [mailto:marcin.slusarz@...il.com]
> Sent: Sunday, May 11, 2008 1:04 PM
> To: LKML
> Cc: Ramkrishna Vepa; Rastapur Santosh; Sivakumar Subramani; Sreenivasa
> Honnur; netdev@...r.kernel.org
> Subject: [PATCH] net/s2io: set_rxd_buffer_pointer returns -ENOMEM,
> notENOMEM
>
> 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 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