From: Chas Williams Date: Tue, 19 Jul 2005 20:54:19 +0000 (-0700) Subject: [ATM]: [zatm] eliminate kfree warning (from Tobias Hirning ) X-Git-Tag: v2.6.13-rc4~84^2~24 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=43f51fce0a637e6cdf1285b0fa09b8398ff14834;p=linux-2.6 [ATM]: [zatm] eliminate kfree warning (from Tobias Hirning ) Signed-off-by: Chas Williams Signed-off-by: David S. Miller --- diff --git a/drivers/atm/zatm.c b/drivers/atm/zatm.c index 8d5e65cb97..afcf1ada55 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);