aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2005-07-19 13:54:19 -0700
committerDavid S. Miller <davem@davemloft.net>2005-07-19 13:54:19 -0700
commit43f51fce0a637e6cdf1285b0fa09b8398ff14834 (patch)
tree0c19a53319cc78db6f55201ccb2d5c599ddf6b83 /drivers
parent3f1c81ff10187396e6d0fd01df82ab0cec256c96 (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')
-rw-r--r--drivers/atm/zatm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c
index 8d5e65cb975..afcf1ada554 100644
--- a/drivers/atm/zatm.c
+++ b/drivers/atm/zatm.c
@@ -1339,7 +1339,7 @@ static int __init zatm_start(struct atm_dev *dev)
return 0;
out:
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->tx_map);
free_irq(zatm_dev->irq, dev);