diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2004-05-28 21:12:47 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2004-05-28 21:12:47 -0700 |
| commit | 79f21235ec35e69cff70c5b6914ee020b4e01831 (patch) | |
| tree | f55f31a7ad740c0ac5b07b47994c8d8794ae2e86 /ipc/mqueue.c | |
| parent | ebf392cd3adede7adf10950f48f25766c5adc9df (diff) | |
[PATCH] sparse: ipc __user annotation
Diffstat (limited to 'ipc/mqueue.c')
| -rw-r--r-- | ipc/mqueue.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipc/mqueue.c b/ipc/mqueue.c index 3475a9992f56..40a8d414e3ba 100644 --- a/ipc/mqueue.c +++ b/ipc/mqueue.c @@ -780,7 +780,7 @@ asmlinkage long sys_mq_timedsend(mqd_t mqdes, const char __user *u_msg_ptr, /* First try to allocate memory, before doing anything with * existing queues. */ - msg_ptr = load_msg((void *)u_msg_ptr, msg_len); + msg_ptr = load_msg(u_msg_ptr, msg_len); if (unlikely(IS_ERR(msg_ptr))) { ret = PTR_ERR(msg_ptr); goto out_fput; |
