The patch titled fbdev: use framebuffer_release() for freeing fb_info structures has been removed from the -mm tree. Its filename was fbdev-use-framebuffer_release-for-freeing-fb_info-structures.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: fbdev: use framebuffer_release() for freeing fb_info structures From: Krzysztof Helt <krzysztof.h1@xxxxx> Use the framebuffer_release() for freeing fb_info structures allocated with framebuffer_alloc(). Signed-off-by: Krzysztof Helt <krzysztof.h1@xxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/offb.c | 2 +- drivers/video/pm2fb.c | 2 +- drivers/video/sis/sis_main.c | 4 ++-- drivers/video/stifb.c | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff -puN drivers/video/offb.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures drivers/video/offb.c --- a/drivers/video/offb.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures +++ a/drivers/video/offb.c @@ -493,7 +493,7 @@ static void __init offb_init_fb(const ch iounmap(par->cmap_adr); par->cmap_adr = NULL; iounmap(info->screen_base); - kfree(info); + framebuffer_release(info); release_mem_region(res_start, res_size); return; } diff -puN drivers/video/pm2fb.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures drivers/video/pm2fb.c --- a/drivers/video/pm2fb.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures +++ a/drivers/video/pm2fb.c @@ -1748,7 +1748,7 @@ static void __devexit pm2fb_remove(struc pci_set_drvdata(pdev, NULL); fb_dealloc_cmap(&info->cmap); kfree(info->pixmap.addr); - kfree(info); + framebuffer_release(info); } static struct pci_device_id pm2fb_id_table[] = { diff -puN drivers/video/sis/sis_main.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures drivers/video/sis/sis_main.c --- a/drivers/video/sis/sis_main.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures +++ a/drivers/video/sis/sis_main.c @@ -5928,7 +5928,7 @@ sisfb_probe(struct pci_dev *pdev, const if(pci_enable_device(pdev)) { if(ivideo->nbridge) pci_dev_put(ivideo->nbridge); pci_set_drvdata(pdev, NULL); - kfree(sis_fb_info); + framebuffer_release(sis_fb_info); return -EIO; } } @@ -6134,7 +6134,7 @@ error_3: vfree(ivideo->bios_abase); pci_set_drvdata(pdev, NULL); if(!ivideo->sisvga_enabled) pci_disable_device(pdev); - kfree(sis_fb_info); + framebuffer_release(sis_fb_info); return ret; } diff -puN drivers/video/stifb.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures drivers/video/stifb.c --- a/drivers/video/stifb.c~fbdev-use-framebuffer_release-for-freeing-fb_info-structures +++ a/drivers/video/stifb.c @@ -1380,7 +1380,7 @@ stifb_cleanup(void) if (info->screen_base) iounmap(info->screen_base); fb_dealloc_cmap(&info->cmap); - kfree(info); + framebuffer_release(info); } sti->info = NULL; } _ Patches currently in -mm which might be from krzysztof.h1@xxxxx are origin.patch linux-next.patch intelfb-fix-color-map-setting-with-an-lvds-display.patch intelfb-fix-setting-of-active-pipe-with-lvds-displays.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html