Re: [PATCH] imx_drm: ipu_v3: fix invalid free of devm_* allocated data

2013-03-19 Thread Sascha Hauer
On Sat, Mar 16, 2013 at 02:02:36PM +0200, Silviu-Mihai Popescu wrote: > The objects allocated by devm_* APIs are managed by devres and are freed > when the device is detached. There is no need to use kfree() explicitly. Not only 'no need', it's simply wrong. > > Signed-off-by: Silviu-Mihai Popes

[PATCH] imx_drm: ipu_v3: fix invalid free of devm_* allocated data

2013-03-16 Thread Silviu-Mihai Popescu
The objects allocated by devm_* APIs are managed by devres and are freed when the device is detached. There is no need to use kfree() explicitly. Signed-off-by: Silviu-Mihai Popescu --- drivers/staging/imx-drm/ipu-v3/ipu-dp.c |1 - 1 file changed, 1 deletion(-) diff --git a/drivers/staging/