The patch titled rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime() has been added to the -mm tree. Its filename is rtc-rtc-s3c-add-rtc_valid_tm-in-s3c_rtc_gettime.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: rtc: rtc-s3c: add rtc_valid_tm in s3c_rtc_gettime() From: Kukjin Kim <kgene.kim@xxxxxxxxxxx> Add "rtc_valid_tm" in s3c_rtc_gettime() as per Wan ZongShun's suggestion. Suggested-by: Wan ZongShun <mcuos.com@xxxxxxxxx> Signed-off-by: Kukjin Kim <kgene.kim@xxxxxxxxxxx> Cc: Ben Dooks <ben-linux@xxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/rtc/rtc-s3c.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/rtc/rtc-s3c.c~rtc-rtc-s3c-add-rtc_valid_tm-in-s3c_rtc_gettime drivers/rtc/rtc-s3c.c --- a/drivers/rtc/rtc-s3c.c~rtc-rtc-s3c-add-rtc_valid_tm-in-s3c_rtc_gettime +++ a/drivers/rtc/rtc-s3c.c @@ -185,7 +185,7 @@ static int s3c_rtc_gettime(struct device rtc_tm->tm_year += 100; rtc_tm->tm_mon -= 1; - return 0; + return rtc_valid_tm(rtc_tm); } static int s3c_rtc_settime(struct device *dev, struct rtc_time *tm) _ Patches currently in -mm which might be from kgene.kim@xxxxxxxxxxx are origin.patch linux-next.patch rtc-rtc-s3c-fix-access-unit-from-byte-to-word-on-rtccon.patch rtc-rtc-s3c-fix-setting-missing-field-of-getalarm.patch rtc-rtc-s3c-fix-on-support-rtc-alarm.patch rtc-rtc-s3c-fix-debug-message-format-on-rtc.patch rtc-rtc-s3c-fix-rtc-initialization-method.patch rtc-rtc-s3c-add-rtc_valid_tm-in-s3c_rtc_gettime.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