summaryrefslogtreecommitdiff
path: root/drivers/atm/zatm.c
diff options
context:
space:
mode:
authorChas Williams <chas@cmf.nrl.navy.mil>2005-07-20 00:54:19 +0400
committerDavid S. Miller <davem@davemloft.net>2005-07-20 00:54:19 +0400
commit43f51fce0a637e6cdf1285b0fa09b8398ff14834 (patch)
tree0c19a53319cc78db6f55201ccb2d5c599ddf6b83 /drivers/atm/zatm.c
parent3f1c81ff10187396e6d0fd01df82ab0cec256c96 (diff)
downloadlinux-43f51fce0a637e6cdf1285b0fa09b8398ff14834.tar.xz
[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/zatm.c')
-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 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)
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);