[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20121130105209.GL3176@sortiz-mobl>
Date: Fri, 30 Nov 2012 11:52:09 +0100
From: Samuel Ortiz <sameo@...ux.intel.com>
To: Tushar Behera <tushar.behera@...aro.org>
Cc: linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org,
linus.walleij@...aro.org, srinidhi.kasagar@...ricsson.com,
patches@...aro.org
Subject: Re: [PATCH] mfd: ab8500-core: Fix invalid free of devm_ allocated
data
Hi Tushar,
On Fri, Nov 23, 2012 at 05:48:43PM +0530, Tushar Behera wrote:
> The objects allocated by devm_* APIs are managed by devres and are
> freed when the device is detached. Hence there is no need to remove
> them explicitly in remove function.
>
> Signed-off-by: Tushar Behera <tushar.behera@...aro.org>
> ---
> drivers/mfd/ab8500-core.c | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
Applied, thanks.
Cheers,
Samuel.
--
Intel Open Source Technology Centre
http://oss.intel.com/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists