Skip to contentSkip to conversation

futex_compat __user annotation

PATCH New Al Viro 1 participant 1 message Mar 29, 2008

lore
Share & tools
lore

Al Viro

author
#0 lore raw

PATCH 1/1 futex_compat __user annotation

---
 kernel/futex_compat.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/futex_compat.c +1 -1
index ff90f04..04ac3a9 100644
@@ -30,7 +30,7 @@ fetch_robust_entry(compat_uptr_t *uentry, struct robust_list __user **entry,
 	return 0;
 }
 
-static void __user *futex_uaddr(struct robust_list *entry,
+static void __user *futex_uaddr(struct robust_list __user *entry,
 				compat_long_t futex_offset)
 {
 	compat_uptr_t base = ptr_to_compat(entry);
Signature · 1 line
1.5.3.GIT