The patch titled rtc-dev: return -ENOTTY in ioctl if irq_set_freq is not implemented by driver has been removed from the -mm tree. Its filename was rtc-dev-return-enotty-in-ioctl-if-irq_set_freq-is-not-implemented-by-driver.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: rtc-dev: return -ENOTTY in ioctl if irq_set_freq is not implemented by driver 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> --- drivers/rtc/rtc-dev.c | 2 ++ 1 file changed, 2 insertions(+) diff -puN drivers/rtc/rtc-dev.c~rtc-dev-return-enotty-in-ioctl-if-irq_set_freq-is-not-implemented-by-driver drivers/rtc/rtc-dev.c --- a/drivers/rtc/rtc-dev.c~rtc-dev-return-enotty-in-ioctl-if-irq_set_freq-is-not-implemented-by-driver +++ a/drivers/rtc/rtc-dev.c @@ -341,6 +341,8 @@ static int rtc_dev_ioctl(struct inode *i case RTC_IRQP_READ: if (ops->irq_set_freq) err = put_user(rtc->irq_freq, (unsigned long __user *)uarg); + else + err = -ENOTTY; break; case RTC_IRQP_SET: _ Patches currently in -mm which might be from hcegtvedt@xxxxxxxxx are origin.patch git-watchdog.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