Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit d76fdf75 authored by Al Viro's avatar Al Viro Committed by Linus Torvalds
Browse files

[PATCH] trivial __user annotations - rtc-dev

parent 427a57a7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -305,7 +305,7 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file,


	case RTC_IRQP_READ:
	case RTC_IRQP_READ:
		if (ops->irq_set_freq)
		if (ops->irq_set_freq)
			err = put_user(rtc->irq_freq, (unsigned long *) arg);
			err = put_user(rtc->irq_freq, (unsigned long __user *)uarg);
		break;
		break;


	case RTC_IRQP_SET:
	case RTC_IRQP_SET: