+ add-max6902-rtc-support-update.patch added to -mm tree

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

 



The patch titled

     Add max6902 RTC support (update)

has been added to the -mm tree.  Its filename is

     add-max6902-rtc-support-update.patch

See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find
out what to do about this

------------------------------------------------------
Subject: Add max6902 RTC support (update)
From: Raphael Assenat <raph@xxxxxxxxxxx>


I just discovered I forgot to call kfree on the struct max6902 I allocate
in max6902_probe.

Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/rtc/rtc-max6902.c |    2 ++
 1 files changed, 2 insertions(+)

diff -puN drivers/rtc/rtc-max6902.c~add-max6902-rtc-support-update drivers/rtc/rtc-max6902.c
--- 25/drivers/rtc/rtc-max6902.c~add-max6902-rtc-support-update	Fri Jun  2 14:17:18 2006
+++ 25-akpm/drivers/rtc/rtc-max6902.c	Fri Jun  2 14:17:21 2006
@@ -258,6 +258,8 @@ static int __devexit max6902_remove(stru
 	if (rtc)
 		rtc_device_unregister(rtc);
 
+	kfree(chip);
+
 	return 0;
 }
 
_

Patches currently in -mm which might be from raph@xxxxxxxxxxx are

add-max6902-rtc-support.patch
add-max6902-rtc-support-update.patch
add-max6902-rtc-support-tidy.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