提交 43f51fce 编写于 作者: C Chas Williams 提交者: David S. Miller

[ATM]: [zatm] eliminate kfree warning (from Tobias Hirning <sskyman@web.de>)

Signed-off-by: NChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 3f1c81ff
...@@ -1339,7 +1339,7 @@ static int __init zatm_start(struct atm_dev *dev) ...@@ -1339,7 +1339,7 @@ static int __init zatm_start(struct atm_dev *dev)
return 0; return 0;
out: out:
for (i = 0; i < NR_MBX; i++) for (i = 0; i < NR_MBX; i++)
kfree(zatm_dev->mbx_start[i]); kfree(&zatm_dev->mbx_start[i]);
kfree(zatm_dev->rx_map); kfree(zatm_dev->rx_map);
kfree(zatm_dev->tx_map); kfree(zatm_dev->tx_map);
free_irq(zatm_dev->irq, dev); free_irq(zatm_dev->irq, dev);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册