The patch titled Subject: string: do not export memweight() to userspace has been added to the -mm tree. Its filename is string-do-not-export-memweight-to-userspace.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 *** The -mm tree is included into linux-next and is updated there every 3-4 working days ------------------------------------------------------ From: WANG Cong <xiyou.wangcong@xxxxxxxxx> Subject: string: do not export memweight() to userspace Fix the following warning: usr/include/linux/string.h:8: userspace cannot reference function or variable defined in the kernel Signed-off-by: WANG Cong <xiyou.wangcong@xxxxxxxxx> Acked-by: Akinobu Mita <akinobu.mita@xxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- include/linux/string.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff -puN include/linux/string.h~string-do-not-export-memweight-to-userspace include/linux/string.h --- a/include/linux/string.h~string-do-not-export-memweight-to-userspace +++ a/include/linux/string.h @@ -144,8 +144,8 @@ static inline bool strstarts(const char { return strncmp(str, prefix, strlen(prefix)) == 0; } -#endif extern size_t memweight(const void *ptr, size_t bytes); +#endif /* __KERNEL__ */ #endif /* _LINUX_STRING_H_ */ _ Patches currently in -mm which might be from xiyou.wangcong@xxxxxxxxx are mm-hugetlbfs-correctly-populate-shared-pmd.patch mm-hugetlbfs-correctly-populate-shared-pmd-fix.patch string-do-not-export-memweight-to-userspace.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