projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffb5df6
)
s2io.c: Convert skipped nic->config.tx_cfg[i]. to tx_cfg->
author
Joe Perches
<joe@perches.com>
Mon, 24 Aug 2009 17:29:48 +0000
(17:29 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 31 Aug 2009 05:35:08 +0000
(22:35 -0700)
Missed doing the conversion in earlier patch.
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Sreenivasa Honnur <sreenivasa.honnur@neterion.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/s2io.c
patch
|
blob
|
history
diff --git
a/drivers/net/s2io.c
b/drivers/net/s2io.c
index 06223dfd2e8832c00e12cb748dcc9919122afa3b..1d13f60a9f522d050a21ecf11de39931578a1fd7 100644
(file)
--- 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);
}