The patch titled video/aty/atyfb_base.c: free when fb can't be registered has been removed from the -mm tree. Its filename was free-when-fb-cant-be-registered-in-video-aty-atyfb_basec.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: video/aty/atyfb_base.c: free when fb can't be registered From: Roel Kluin <12o3l@xxxxxxxxxx> Free buffer when the framebuffer can't be registered Signed-off-by: Roel Kluin <12o3l@xxxxxxxxxx> Cc: "Antonino A. Daplas" <adaplas@xxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/aty/atyfb_base.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff -puN drivers/video/aty/atyfb_base.c~free-when-fb-cant-be-registered-in-video-aty-atyfb_basec drivers/video/aty/atyfb_base.c --- a/drivers/video/aty/atyfb_base.c~free-when-fb-cant-be-registered-in-video-aty-atyfb_basec +++ a/drivers/video/aty/atyfb_base.c @@ -2621,10 +2621,13 @@ static int __devinit aty_init(struct fb_ #endif /* CONFIG_FB_ATY_CT */ info->var = var; - fb_alloc_cmap(&info->cmap, 256, 0); + if (fb_alloc_cmap(&info->cmap, 256, 0) < 0) + goto aty_init_exit; - if (register_framebuffer(info) < 0) + if (register_framebuffer(info) < 0) { + fb_dealloc_cmap(&info->cmap); goto aty_init_exit; + } fb_list = info; _ Patches currently in -mm which might be from 12o3l@xxxxxxxxxx are origin.patch adt746x-logical-bitwise-confusion-in-set_max_duty_at_crit.patch git-kbuild.patch block-blk-mergec-inverted-likeliness-in-ll_back_merge_fn.patch likeliness-accounting-change-and-cleanup.patch likely_prof-update-to-test_and_set_bit_lock-clear_bit_unlock.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