[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d06ef002f66deffeffdffbd7179afae9688d9309.1251170438.git.joe@perches.com>
Date: Mon, 24 Aug 2009 20:29:48 -0700
From: Joe Perches <joe@...ches.com>
To: netdev@...r.kernel.org
Cc: Anil Murthy <anil.murthy@...erion.com>,
Sreenivasa Honnur <sreenivasa.honnur@...erion.com>,
Sivakumar Subramani <sivakumar.subramani@...erion.com>,
Rastapur Santosh <santosh.rastapur@...erion.com>,
Ramkrishna Vepa <ram.vepa@...erion.com>,
"David S. Miller" <davem@...emloft.net>,
Andrew Morton <akpm@...ux-foundation.org>,
linux-next@...r.kernel.org
Subject: [PATCH 9/9] s2io.c: Convert skipped nic->config.tx_cfg[i]. to tx_cfg->
Missed doing the conversion in earlier patch.
Signed-off-by: Joe Perches <joe@...ches.com>
---
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 06223df..1d13f60 100644
--- a/drivers/net/s2io.c
+++ b/drivers/net/s2io.c
@@ -1001,7 +1001,7 @@ static void free_shared_mem(struct s2io_nic *nic)
swstats->mem_freed += PAGE_SIZE;
}
kfree(fifo->list_info);
- swstats->mem_freed += nic->config.tx_cfg[i].fifo_len *
+ swstats->mem_freed += tx_cfg->fifo_len *
sizeof(struct list_info_hold);
}
--
1.6.3.1.10.g659a0.dirty
--
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