From: Chas Williams Date: Tue, 19 Jul 2005 20:54:19 +0000 (-0700) Subject: [ATM]: [zatm] eliminate kfree warning (from Tobias Hirning ) X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=43f51fce0a637e6cdf1285b0fa09b8398ff14834;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git [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 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);