Commit 43f51fce authored by Chas Williams's avatar Chas Williams Committed by David S. Miller

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

Signed-off-by: default avatarChas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment