The patch titled drivers/video/backlight/da903x.c: introduce one more missing kfree has been added to the -mm tree. Its filename is drivers-video-backlight-da903xc-introduce-one-more-missing-kfree.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: drivers/video/backlight/da903x.c: introduce one more missing kfree From: Mike Rapoport [mailto:mike@xxxxxxxxxxxxxx] One more error handling code should have kfree as well Signed-off-by: Mike Rapoport <mike@xxxxxxxxxxxxxx> Acked-by: Eric Miao <eric.miao@xxxxxxxxxxx> Cc: Richard Purdie <rpurdie@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/video/backlight/da903x.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/video/backlight/da903x.c~drivers-video-backlight-da903xc-introduce-one-more-missing-kfree drivers/video/backlight/da903x.c --- a/drivers/video/backlight/da903x.c~drivers-video-backlight-da903xc-introduce-one-more-missing-kfree +++ a/drivers/video/backlight/da903x.c @@ -131,6 +131,7 @@ static int da903x_backlight_probe(struct data, &da903x_backlight_ops); if (IS_ERR(bl)) { dev_err(&pdev->dev, "failed to register backlight\n"); + kfree(data); return PTR_ERR(bl); } _ Patches currently in -mm which might be from mike@xxxxxxxxxxxxxx are drivers-video-backlight-da903xc-introduce-missing-kfree.patch drivers-video-backlight-da903xc-introduce-one-more-missing-kfree.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