The patch titled rtc: make example code jump to done instead of return when ioctl not supported has been added to the -mm tree. Its filename is rtc-make-example-code-jump-to-done-instead-of-return-when-ioctl-not-supported.patch *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: rtc: make example code jump to done instead of return when ioctl not supported From: Hans-Christian Egtvedt <hcegtvedt@xxxxxxxxx> Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@xxxxxxxxx> Cc: Haavard Skinnemoen <hskinnemoen@xxxxxxxxx> Cc: David Brownell <david-b@xxxxxxxxxxx> Cc: Alessandro Zummo <a.zummo@xxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- Documentation/rtc.txt | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN Documentation/rtc.txt~rtc-make-example-code-jump-to-done-instead-of-return-when-ioctl-not-supported Documentation/rtc.txt --- a/Documentation/rtc.txt~rtc-make-example-code-jump-to-done-instead-of-return-when-ioctl-not-supported +++ a/Documentation/rtc.txt @@ -385,7 +385,7 @@ test_PIE: /* not all RTCs support periodic IRQs */ if (errno == ENOTTY) { fprintf(stderr, "\nNo periodic IRQ support\n"); - return 0; + goto done; } perror("RTC_IRQP_READ ioctl"); exit(errno); _ Patches currently in -mm which might be from hcegtvedt@xxxxxxxxx are git-avr32.patch watchdog-driver-for-at32ap700x-devices.patch watchdog-driver-for-at32ap700x-devices-fix.patch watchdog-driver-for-at32ap700x-devices-fix-2.patch watchdog-driver-for-at32ap700x-devices-fix-3.patch watchdog-driver-for-at32ap700x-devices-fix-4.patch rtc-make-example-code-jump-to-done-instead-of-return-when-ioctl-not-supported.patch rtc-dev-return-enotty-in-ioctl-if-irq_set_freq-is-not-implemented-by-driver.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