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

[PATCH] trivial __user annotations - rtc-dev

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 427a57a7
...@@ -305,7 +305,7 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file, ...@@ -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:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment