Skip to content

Commit

Permalink
[ATM]: [zatm] eliminate kfree warning (from Tobias Hirning <sskyman@w…
Browse files Browse the repository at this point in the history
…eb.de>)

Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Chas Williams authored and davem330 committed Jul 19, 2005
1 parent 3f1c81f commit 43f51fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/atm/zatm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 43f51fc

Please sign in to comment.