[ATM]: [zatm] eliminate kfree warning (from Tobias Hirning <sskyman@web.de>)
authorChas Williams <chas@cmf.nrl.navy.mil>
Tue, 19 Jul 2005 20:54:19 +0000 (13:54 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Jul 2005 20:54:19 +0000 (13:54 -0700)
Signed-off-by: Chas Williams <chas@cmf.nrl.navy.mil>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/zatm.c

index 8d5e65cb975528203ebb5b951044d9eaf73c91ad..afcf1ada55477ff53efdae3403f24468b91fa75f 100644 (file)
@@ -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);