diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2007-02-09 11:38:05 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-09 12:14:06 -0500 |
commit | d76fdf754a4b61741d78c545489145919affea4d (patch) | |
tree | 635b0c50cbe4b57804d9f72f5f10f86b813b6732 /drivers | |
parent | 427a57a782c3bbd21de0a145662dc8f2f3ac2ea5 (diff) |
[PATCH] trivial __user annotations - rtc-dev
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/rtc-dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-dev.c b/drivers/rtc/rtc-dev.c index 94d3df62a5fa..82f2ac87ccd4 100644 --- a/drivers/rtc/rtc-dev.c +++ b/drivers/rtc/rtc-dev.c | |||
@@ -305,7 +305,7 @@ static int rtc_dev_ioctl(struct inode *inode, struct file *file, | |||
305 | 305 | ||
306 | case RTC_IRQP_READ: | 306 | case RTC_IRQP_READ: |
307 | if (ops->irq_set_freq) | 307 | if (ops->irq_set_freq) |
308 | err = put_user(rtc->irq_freq, (unsigned long *) arg); | 308 | err = put_user(rtc->irq_freq, (unsigned long __user *)uarg); |
309 | break; | 309 | break; |
310 | 310 | ||
311 | case RTC_IRQP_SET: | 311 | case RTC_IRQP_SET: |