kernel-janitors.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [patch] nuc900fb: release correct mem region
@ 2010-03-25 10:54 Dan Carpenter
  2010-05-19 19:48 ` Dan Carpenter
  0 siblings, 1 reply; 4+ messages in thread
From: Dan Carpenter @ 2010-03-25 10:54 UTC (permalink / raw)
  To: linux-arm-kernel

We should be releasing "res->start" here.

Signed-off-by: Dan Carpenter <error27@gmail.com>
---
BTW.  Congratulations on being an official driver maintainer now.  :)  Can
you add yourself to the MAINTAINERS file?

diff --git a/drivers/video/nuc900fb.c b/drivers/video/nuc900fb.c
index 6bf0d46..d4cde79 100644
--- a/drivers/video/nuc900fb.c
+++ b/drivers/video/nuc900fb.c
@@ -667,7 +667,7 @@ release_irq:
 release_regs:
 	iounmap(fbi->io);
 release_mem_region:
-	release_mem_region((unsigned long)fbi->mem, size);
+	release_mem_region(res->start, size);
 free_fb:
 	framebuffer_release(fbinfo);
 	return ret;

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-05-21 19:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-25 10:54 [patch] nuc900fb: release correct mem region Dan Carpenter
2010-05-19 19:48 ` Dan Carpenter
2010-05-20  2:36   ` Wan ZongShun
2010-05-21 19:56     ` Andrew Morton

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).