diff options
author | Chas Williams <chas@cmf.nrl.navy.mil> | 2005-07-19 16:54:19 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-07-19 16:54:19 -0400 |
commit | 43f51fce0a637e6cdf1285b0fa09b8398ff14834 (patch) | |
tree | 0c19a53319cc78db6f55201ccb2d5c599ddf6b83 /drivers/atm | |
parent | 3f1c81ff10187396e6d0fd01df82ab0cec256c96 (diff) |
[ATM]: [zatm] eliminate kfree warning (from Tobias Hirning <sskyman@web.de>)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm')
-rw-r--r-- | drivers/atm/zatm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index 8d5e65cb9755..afcf1ada5547 100644 --- a/drivers/atm/zatm.c +++ b/drivers/atm/zatm.c | |||
@@ -1339,7 +1339,7 @@ static int __init zatm_start(struct atm_dev *dev) | |||
1339 | return 0; | 1339 | return 0; |
1340 | out: | 1340 | out: |
1341 | for (i = 0; i < NR_MBX; i++) | 1341 | for (i = 0; i < NR_MBX; i++) |
1342 | kfree(zatm_dev->mbx_start[i]); | 1342 | kfree(&zatm_dev->mbx_start[i]); |
1343 | kfree(zatm_dev->rx_map); | 1343 | kfree(zatm_dev->rx_map); |
1344 | kfree(zatm_dev->tx_map); | 1344 | kfree(zatm_dev->tx_map); |
1345 | free_irq(zatm_dev->irq, dev); | 1345 | free_irq(zatm_dev->irq, dev); |