- drivers-video-backlight-da903xc-introduce-one-more-missing-kfree.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     drivers/video/backlight/da903x.c: introduce one more missing kfree
has been removed from the -mm tree.  Its filename was
     drivers-video-backlight-da903xc-introduce-one-more-missing-kfree.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: 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

origin.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

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux