From: Amol Lad ioremap must be balanced by an iounmap and failing to do so can result in a memory leak. Signed-off-by: Amol Lad Cc: "Antonino A. Daplas" Signed-off-by: Andrew Morton --- drivers/video/fm2fb.c | 1 + 1 files changed, 1 insertion(+) diff -puN drivers/video/fm2fb.c~ioremap-balanced-with-iounmap-for-drivers-video-fm2fb drivers/video/fm2fb.c --- a/drivers/video/fm2fb.c~ioremap-balanced-with-iounmap-for-drivers-video-fm2fb +++ a/drivers/video/fm2fb.c @@ -283,6 +283,7 @@ static int __devinit fm2fb_probe(struct if (register_framebuffer(info) < 0) { fb_dealloc_cmap(&info->cmap); + iounmap(info->screen_base); framebuffer_release(info); zorro_release_device(z); return -EINVAL; _