The patch titled ummunotify-userspace-support-for-mmu-notifications-v3-fix-fix.txt has been added to the -mm tree. Its filename is ummunotify-userspace-support-for-mmu-notifications-v3-fix-fix.patch Before you just go and hit "reply", please: a) Consider who else should be cc'ed b) Prefer to cc a suitable mailing list as well c) Ideally: find the original patch on the mailing list and do a reply-to-all to that, adding suitable additional cc's *** Remember to use Documentation/SubmitChecklist when testing your code *** See http://userweb.kernel.org/~akpm/stuff/added-to-mm.txt to find out what to do about this The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: ummunotify-userspace-support-for-mmu-notifications-v3-fix-fix.txt From: Roland Dreier <rdreier@xxxxxxxxx> ummunotify.c:(.text+0x8f217): undefined reference to `__get_user_X' when building for i386 -- get_user() can't handle u64 on all architectures, so just use copy_from_user(). Reported-by: Randy Dunlap <randy.dunlap@xxxxxxxxxx> Signed-off-by: Roland Dreier <rolandd@xxxxxxxxx> Cc: Jason Gunthorpe <jgunthorpe@xxxxxxxxxxxxxxxxxxxx> Cc: Jeff Squyres <jsquyres@xxxxxxxxx> Cc: Steven Rostedt <rostedt@xxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/ummunotify.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/char/ummunotify.c~ummunotify-userspace-support-for-mmu-notifications-v3-fix-fix drivers/char/ummunotify.c --- a/drivers/char/ummunotify.c~ummunotify-userspace-support-for-mmu-notifications-v3-fix-fix +++ a/drivers/char/ummunotify.c @@ -453,7 +453,7 @@ static long ummunotify_unregister_region struct ummunotify_reg *reg; int ret = -EINVAL; - if (get_user(user_cookie, arg)) + if (copy_from_user(&user_cookie, arg, sizeof user_cookie)) return -EFAULT; spin_lock_irq(&priv->lock); _ Patches currently in -mm which might be from rdreier@xxxxxxxxx are linux-next.patch ecryptfs-another-lockdep-issue.patch ummunotify-userspace-support-for-mmu-notifications.patch ummunotify-userspace-support-for-mmu-notifications-v3-fix-fix.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html