Skip to content

Commit

Permalink
[PATCH] trivial __user annotations - rtc-dev
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Al Viro authored and Linus Torvalds committed Feb 9, 2007
1 parent 427a57a commit d76fdf7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/rtc/rtc-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file,

case RTC_IRQP_READ:
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;

case RTC_IRQP_SET:
Expand Down

0 comments on commit d76fdf7

Please sign in to comment.