projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
427a57a
)
[PATCH] trivial __user annotations - rtc-dev
author
Al Viro
<viro@ftp.linux.org.uk>
Fri, 9 Feb 2007 16:38:05 +0000
(16:38 +0000)
committer
Linus Torvalds
<torvalds@woody.linux-foundation.org>
Fri, 9 Feb 2007 17:14:06 +0000
(09:14 -0800)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/rtc/rtc-dev.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/rtc/rtc-dev.c
b/drivers/rtc/rtc-dev.c
index 94d3df62a5fa85834d440839bba21f6c3054958b..82f2ac87ccd4722c8a4f9dbef562ddae1f6f6064 100644
(file)
--- 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,
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 *)u
arg);
break;
case RTC_IRQP_SET: