* [PATCH 1/3] video: s3c-fb: fix misleading kfree in remove function
@ 2011-06-08 10:43 Jingoo Han
2011-06-08 10:58 ` JinGoo Han
0 siblings, 1 reply; 2+ messages in thread
From: Jingoo Han @ 2011-06-08 10:43 UTC (permalink / raw)
To: linux-fbdev
This patch fixes misleading kfree in remove function.
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
---
drivers/video/s3c-fb.c | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/drivers/video/s3c-fb.c b/drivers/video/s3c-fb.c
index 0352afa..148e19d 100644
--- a/drivers/video/s3c-fb.c
+++ b/drivers/video/s3c-fb.c
@@ -1487,11 +1487,10 @@ static int __devexit s3c_fb_remove(struct platform_device *pdev)
release_mem_region(sfb->regs_res->start, resource_size(sfb->regs_res));
- kfree(sfb);
-
pm_runtime_put_sync(sfb->dev);
pm_runtime_disable(sfb->dev);
+ kfree(sfb);
return 0;
}
--
1.7.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH 1/3] video: s3c-fb: fix misleading kfree in remove function
2011-06-08 10:43 [PATCH 1/3] video: s3c-fb: fix misleading kfree in remove function Jingoo Han
@ 2011-06-08 10:58 ` JinGoo Han
0 siblings, 0 replies; 2+ messages in thread
From: JinGoo Han @ 2011-06-08 10:58 UTC (permalink / raw)
To: linux-fbdev
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="windows-1254", Size: 447 bytes --]
> ------- Original Message -------
> Sender : JinGoo Han<jg1.han@samsung.com>
> Date : Jun 08, 2011 19:43 (GMT+09:00)
> Title : [PATCH 1/3] video: s3c-fb: fix misleading kfree in remove function
Sorry. [PATCH 1/3] is typo.
I have just sent the patch '[PATCH] video: s3c-fb: fix misleading kfree in remove function'.
ÿôèº{.nÇ+·®+%Ëÿ±éݶ\x17¥wÿº{.nÇ+·¥{±ýöÝzÿâØ^nr¡ö¦zË\x1aëh¨èÚ&£ûàz¿äz¹Þú+Ê+zf£¢·h§~Ûiÿÿïêÿêçz_è®\x0fæj:+v¨þ)ߣøm
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-08 10:58 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-08 10:43 [PATCH 1/3] video: s3c-fb: fix misleading kfree in remove function Jingoo Han
2011-06-08 10:58 ` JinGoo Han
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).