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/vesafb.c | 2 ++ 1 files changed, 2 insertions(+) diff -puN drivers/video/vesafb.c~ioremap-balanced-with-iounmap-for-drivers-video-vesafb drivers/video/vesafb.c --- a/drivers/video/vesafb.c~ioremap-balanced-with-iounmap-for-drivers-video-vesafb +++ a/drivers/video/vesafb.c @@ -456,6 +456,8 @@ static int __init vesafb_probe(struct pl info->node, info->fix.id); return 0; err: + if (info->screen_base) + iounmap(info->screen_base); framebuffer_release(info); release_mem_region(vesafb_fix.smem_start, size_total); return err; _